Description comment in main.go file

This commit is contained in:
Alexander Ek 2024-03-23 15:22:58 +01:00
parent ed88220a47
commit 42a2ad02e4

View file

@ -33,6 +33,12 @@ import (
// @externalDocs.description OpenAPI
// @externalDocs.url https://swagger.io/resources/open-api/
/**
Main function for starting the server and initializing configurations.
Reads configuration from file, pretty prints it, connects to the database,
migrates it, and sets up routes for the server.
*/
func main() {
conf, err := config.ReadConfigFromFile("config.toml")
if err != nil {