🔄 Remove dependency on github.com/joho/godotenv and related usage

This commit is contained in:
2026-04-19 14:25:43 +08:00
parent b6307941a1
commit 1b1f3720cf
3 changed files with 0 additions and 7 deletions

2
go.mod
View File

@@ -2,8 +2,6 @@ module hatter.me/tools/llm-proxy
go 1.24.3
require github.com/joho/godotenv v1.5.1
require github.com/pelletier/go-toml/v2 v2.3.0
require github.com/google/uuid v1.6.0

2
go.sum
View File

@@ -1,6 +1,4 @@
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/pelletier/go-toml/v2 v2.3.0 h1:k59bC/lIZREW0/iVaQR8nDHxVq8OVlIzYCOJf421CaM=
github.com/pelletier/go-toml/v2 v2.3.0/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=

View File

@@ -18,7 +18,6 @@ import (
"time"
"github.com/google/uuid"
"github.com/joho/godotenv"
"github.com/pelletier/go-toml/v2"
)
@@ -35,8 +34,6 @@ func main() {
os.Exit(0)
}
godotenv.Load()
cfg := loadConfig()
printConfig(cfg)