feat(go): 升级 Go 版本至 1.20

统一将所有模块的 Go 版本从 1.18 或 1.19 升级到 1.20,以使用最新的语言特性和性能改进。

feat(service): 新增乱斗服务默认宠物生成逻辑

在 fight 模块中调用新的 MELEEService.Def() 方法来生成初始对战宠物,
并根据配置
This commit is contained in:
2025-12-15 14:26:24 +08:00
parent 78bb2bd148
commit 937f97fe83
19 changed files with 79 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
module github.com/pointernil/bitset32
go 1.19
go 1.20
require github.com/bits-and-blooms/bitset v1.5.0 // direct

View File

@@ -1,6 +1,6 @@
module github.com/antlabs/cronex
go 1.19
go 1.20
require github.com/antlabs/timer v0.1.4

View File

@@ -1,5 +1,5 @@
module github.com/xiaoqidun/limit
go 1.18
go 1.20
require golang.org/x/time v0.8.0

View File

@@ -1,6 +1,6 @@
module github.com/bruceshao/lockfree
go 1.18
go 1.20
require (
github.com/davecgh/go-spew v1.1.1 // indirect