use tea model for showing server runnign and closing

This commit is contained in:
Robin Olsen
2026-03-11 11:09:38 +01:00
parent 6cbd9d1bd2
commit a7b2698309
2 changed files with 97 additions and 22 deletions

View File

@@ -2,7 +2,6 @@ package main
import (
"context"
"log"
"os"
"github.com/LazyBachelor/LazyPM/cmd/pm/tasks"
@@ -19,11 +18,7 @@ import (
)
func init() {
err := godotenv.Load(".env")
if err != nil {
log.Println("Error loading .env file")
}
godotenv.Load(".env")
models.BaseConfig = models.BaseConfig.LoadFromEnv()