feat: auto-load .env via shared internal/env package

Add godotenv dependency and internal/env init loader so all cmd/
scripts get .env vars loaded automatically via blank import.
This commit is contained in:
tiennm99 committed 2026-04-13 09:13:24 +07:00
1 parent b7ac3e2074
commit 2d4f257a23
4 files changed
+22

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ import (
"net/http"
"os"
"strings"
_ "github.com/tiennm99/go-util/internal/env"
)
// org represents a Gitea organization.