build(go): 更新依赖模块并清理无用依赖
移除多个间接依赖项,包括 github.com/beorn7/perks、github.com/cespare/xxhash/v2、 github.com/prometheus/* 系列依赖等。同时更新了 golang.org/x/net 和 golang.org/x/sys 至新版本,并引入新的间接依赖 github.com/google/go-cmp v0.7.0。
This commit is contained in:
17
go.mod
17
go.mod
@@ -3,20 +3,15 @@ module dot
|
||||
go 1.25.2
|
||||
|
||||
require (
|
||||
github.com/beorn7/perks v1.0.1 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
||||
github.com/miekg/dns v1.1.68 // indirect
|
||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
||||
github.com/prometheus/client_golang v1.23.2 // indirect
|
||||
github.com/prometheus/client_model v0.6.2 // indirect
|
||||
github.com/prometheus/common v0.66.1 // indirect
|
||||
github.com/prometheus/procfs v0.16.1 // indirect
|
||||
go.yaml.in/yaml/v2 v2.4.2 // indirect
|
||||
github.com/hashicorp/golang-lru/v2 v2.0.7
|
||||
github.com/miekg/dns v1.1.68
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/google/go-cmp v0.7.0 // indirect
|
||||
golang.org/x/mod v0.24.0 // indirect
|
||||
golang.org/x/net v0.43.0 // indirect
|
||||
golang.org/x/sync v0.14.0 // indirect
|
||||
golang.org/x/sys v0.35.0 // indirect
|
||||
golang.org/x/tools v0.33.0 // indirect
|
||||
google.golang.org/protobuf v1.36.8 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user