feat: load .env file with godotenv

This commit is contained in:
user
2026-04-27 12:37:08 +09:00
parent bfdc7399eb
commit 1f4a0db988
3 changed files with 5 additions and 0 deletions

View File

@@ -10,11 +10,13 @@ import (
"syscall"
"time"
"github.com/joho/godotenv"
"tutor/internal/app"
"tutor/internal/config"
)
func main() {
_ = godotenv.Load()
cfg := config.LoadFromEnv()
server := app.NewServer(cfg)