Compare commits
2 commits
94f36d4e06
...
e1b410c850
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e1b410c850 | ||
![]() |
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…
Add table
Reference in a new issue