From fd2322cd2bfd3182382477f0707c0c15030c99ee Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 3 Apr 2026 09:59:47 +0800 Subject: [PATCH] =?UTF-8?q?chore(supply-api):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加github.com/google/uuid用于生成唯一ID 添加github.com/stretchr/testify用于测试框架 --- supply-api/go.mod | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/supply-api/go.mod b/supply-api/go.mod index 796ae84..2235fec 100644 --- a/supply-api/go.mod +++ b/supply-api/go.mod @@ -4,13 +4,16 @@ go 1.21 require ( github.com/golang-jwt/jwt/v5 v5.2.0 + github.com/google/uuid v1.6.0 github.com/jackc/pgx/v5 v5.5.1 github.com/redis/go-redis/v9 v9.4.0 github.com/spf13/viper v1.18.2 + github.com/stretchr/testify v1.8.4 ) require ( github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect @@ -20,6 +23,7 @@ require ( github.com/magiconair/properties v1.8.7 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sourcegraph/conc v0.3.0 // indirect