Description comment in main.go file
This commit is contained in:
parent
ed88220a47
commit
42a2ad02e4
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ import (
|
||||||
// @externalDocs.description OpenAPI
|
// @externalDocs.description OpenAPI
|
||||||
// @externalDocs.url https://swagger.io/resources/open-api/
|
// @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() {
|
func main() {
|
||||||
conf, err := config.ReadConfigFromFile("config.toml")
|
conf, err := config.ReadConfigFromFile("config.toml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue