mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
restructured controllers
This commit is contained in:
@@ -3,7 +3,6 @@ package main
|
||||
import (
|
||||
"os"
|
||||
"wallet-api/pkg/api"
|
||||
"wallet-api/pkg/utl/common"
|
||||
"wallet-api/pkg/utl/db"
|
||||
"wallet-api/pkg/utl/server"
|
||||
|
||||
@@ -12,8 +11,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
err := godotenv.Load()
|
||||
common.CheckError(err)
|
||||
godotenv.Load()
|
||||
|
||||
dbUrl := os.Getenv("DATABASE_URL")
|
||||
r := gin.Default()
|
||||
|
||||
Reference in New Issue
Block a user