Resolving issue #2 and #3

This commit is contained in:
Stanislaw
2023-01-03 10:49:49 +01:00
parent 7bfc12d245
commit 6009c627b3
4 changed files with 9 additions and 60 deletions

View File

@@ -10,10 +10,10 @@ import (
func main() {
//line valid only on dev. ignore
godotenv.Load("local.env")
//init database
database.CreateConnection()
//Init api
router := router.InitRouter()
err := router.Run(":2021")