some fixes for docker and migrations
This commit is contained in:
@@ -4,11 +4,19 @@ import (
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"net/http"
|
||||
"pkg"
|
||||
"serviceb/internal/domains/meteo"
|
||||
"serviceb/internal/router"
|
||||
"time"
|
||||
)
|
||||
|
||||
func init() {
|
||||
err := pkg.LoadEnvFile("./../.env")
|
||||
if err != nil {
|
||||
slog.Warn("error loading env file", "error", err)
|
||||
}
|
||||
}
|
||||
|
||||
func main() {
|
||||
mux := router.SetupRoutes()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user