package main import ( "log" "github.com/dmitriygnatenko/internal/fiber" sp "github.com/dmitriygnatenko/internal/service_provider" _ "github.com/lib/pq" ) func main() { serviceProvider, err := sp.Init() if err != nil { log.Fatal(err) } fiberApp, err := fiber.Init(serviceProvider) if err != nil { log.Fatal(err) } if err = fiberApp.Listen(":" + serviceProvider.GetEnvService().GetAppPort()); err != nil { log.Fatal(err) } }