瀏覽代碼

fix: upgrade gonginx to fix the issue #73

0xJacky 2 年之前
父節點
當前提交
3ed9ff1a19
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 3 3
      go.mod
  2. 2 2
      go.sum

+ 3 - 3
go.mod

@@ -11,8 +11,6 @@ require (
 	github.com/gin-gonic/gin v1.9.0
 	github.com/go-acme/lego/v4 v4.10.2
 	github.com/go-co-op/gocron v1.20.1
-	github.com/go-playground/locales v0.14.1
-	github.com/go-playground/universal-translator v0.18.1
 	github.com/go-playground/validator/v10 v10.12.0
 	github.com/golang-jwt/jwt v3.2.2+incompatible
 	github.com/google/uuid v1.3.0
@@ -24,7 +22,7 @@ require (
 	github.com/sashabaranov/go-openai v1.7.0
 	github.com/shirou/gopsutil/v3 v3.23.3
 	github.com/spf13/cast v1.5.0
-	github.com/tufanbarisyildirim/gonginx v0.0.0-20230325082000-26dcb15a9df4
+	github.com/tufanbarisyildirim/gonginx v0.0.0-20230508112508-44b3f58122c3
 	github.com/unknwon/com v1.0.1
 	go.uber.org/zap v1.24.0
 	golang.org/x/crypto v0.8.0
@@ -75,6 +73,8 @@ require (
 	github.com/go-errors/errors v1.4.2 // indirect
 	github.com/go-jose/go-jose/v3 v3.0.0 // indirect
 	github.com/go-ole/go-ole v1.2.6 // indirect
+	github.com/go-playground/locales v0.14.1 // indirect
+	github.com/go-playground/universal-translator v0.18.1 // indirect
 	github.com/go-resty/resty/v2 v2.7.0 // indirect
 	github.com/go-sql-driver/mysql v1.7.0 // indirect
 	github.com/goccy/go-json v0.10.2 // indirect

+ 2 - 2
go.sum

@@ -625,8 +625,8 @@ github.com/tklauser/numcpus v0.6.0/go.mod h1:FEZLMke0lhOUG6w2JadTzp0a+Nl8PF/GFkQ
 github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
 github.com/transip/gotransip/v6 v6.20.0 h1:AuvwyOZ51f2brzMbTqlRy/wmaM3kF7Vx5Wds8xcDflY=
 github.com/transip/gotransip/v6 v6.20.0/go.mod h1:nzv9eN2tdsUrm5nG5ZX6AugYIU4qgsMwIn2c0EZLk8c=
-github.com/tufanbarisyildirim/gonginx v0.0.0-20230325082000-26dcb15a9df4 h1:nay4Y7wTRlBikD1igtx55ALUs5rUKd/DGSpXSaYcf0g=
-github.com/tufanbarisyildirim/gonginx v0.0.0-20230325082000-26dcb15a9df4/go.mod h1:4fTjBxMoWGOIVnGFSTS9GAZ0yMyiGzTdATQS0krQv18=
+github.com/tufanbarisyildirim/gonginx v0.0.0-20230508112508-44b3f58122c3 h1:JtqbmHUcarxOxHSmTPKBHiLQWp66tGf4D4xOzHFRQCI=
+github.com/tufanbarisyildirim/gonginx v0.0.0-20230508112508-44b3f58122c3/go.mod h1:4fTjBxMoWGOIVnGFSTS9GAZ0yMyiGzTdATQS0krQv18=
 github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
 github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
 github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o=