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
@@ -1,3 +1,5 @@
module github.com/tiennm99/go-util
go 1.26.1
require github.com/joho/godotenv v1.5.1 // indirect