build(go): 更新 Go 版本至 1.25.2 并升级依赖项
更新了项目中的 Go 版本以及相关依赖包,包括 ip2region 和 golang.org/x 相关模块, 以确保使用最新的功能和安全修复。同时移除了不再需要的间接依赖。
This commit is contained in:
9
go.mod
9
go.mod
@@ -1,14 +1,13 @@
|
||||
module denyip
|
||||
|
||||
go 1.25.1
|
||||
go 1.25.2
|
||||
|
||||
require (
|
||||
github.com/google/gopacket v1.1.19
|
||||
github.com/lionsoul2014/ip2region/binding/golang v0.0.0-20250909143413-87d53b501838
|
||||
github.com/lionsoul2014/ip2region/binding/golang v0.0.0-20250930013652-2d71241a3bb9
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
||||
golang.org/x/net v0.44.0 // indirect
|
||||
golang.org/x/sys v0.36.0 // indirect
|
||||
golang.org/x/net v0.46.0 // indirect
|
||||
golang.org/x/sys v0.37.0 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user