feat(go): 升级 Go 版本至 1.20 统一将所有模块的 Go 版本从 1.18 或 1.19 升级到 1.20,以使用最新的语言特性和性能改进。 feat(service): 新增乱斗服务默认宠物生成逻辑 在 fight 模块中调用新的 MELEEService.Def() 方法来生成初始对战宠物, 并根据配置
49 lines
1.7 KiB
Go
49 lines
1.7 KiB
Go
module blazing/common
|
|
|
|
go 1.20
|
|
|
|
require github.com/panjf2000/gnet v1.6.7
|
|
|
|
require github.com/gogf/gf/v2 v2.8.0
|
|
|
|
require github.com/antchfx/xmlquery v1.4.4
|
|
|
|
require (
|
|
github.com/antchfx/xpath v1.3.3 // indirect
|
|
github.com/benbjohnson/clock v1.3.0 // indirect
|
|
github.com/butoften/array v1.0.9 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/stretchr/testify v1.11.1 // indirect
|
|
go.opentelemetry.io/otel v1.24.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.24.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
|
|
go.uber.org/ratelimit v0.3.1 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.4.0 // indirect
|
|
github.com/ECUST-XX/xml v1.20.2
|
|
github.com/fatih/color v1.18.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/gorilla/websocket v1.5.1 // indirect
|
|
github.com/grokify/html-strip-tags-go v0.1.0 // indirect
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/panjf2000/ants/v2 v2.11.3 // indirect
|
|
github.com/panjf2000/gnet/v2 v2.9.1
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/tnnmigga/enum v1.0.2
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.24.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
go.uber.org/zap v1.27.0 // indirect
|
|
golang.org/x/net v0.33.0 // indirect
|
|
golang.org/x/sync v0.11.0 // indirect
|
|
golang.org/x/sys v0.30.0 // indirect
|
|
golang.org/x/text v0.22.0 // indirect
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
|
)
|