From 1b1f3720cf78e0a6bd2b6fe1baa725ebc06acdcf Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 19 Apr 2026 14:25:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Remove=20dependency=20on=20githu?= =?UTF-8?q?b.com/joho/godotenv=20and=20related=20usage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 2 -- go.sum | 2 -- main.go | 3 --- 3 files changed, 7 deletions(-) diff --git a/go.mod b/go.mod index 0f163fe..0319844 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 750fdd8..d627cb8 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/main.go b/main.go index 6e6db81..1b4610f 100644 --- a/main.go +++ b/main.go @@ -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)