Skip to content

Commit

Permalink
Fixed initialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Mar 30, 2022
1 parent 00216b1 commit 7f33e40
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import (
"strconv"

"github.com/dogukanoksuz/go-rest-api-example/pkg/utils"
"github.com/dogukanoksuz/go-rest-api-example/platform/database"
"github.com/dogukanoksuz/go-rest-api-example/platform/migrations"
_ "github.com/joho/godotenv/autoload"
)

func main() {
// Application initialization
database.Init()
migrations.Migrate()

port, _ := strconv.Atoi(os.Getenv("APP_PORT"))
Expand Down

0 comments on commit 7f33e40

Please sign in to comment.