refactor: 移除 slice 包和 hash 包,新增 listings、mappings 包存放数组、切片、映射等数据结构,原 slice、hash 包中的工具函数迁移至 collection 包,与 sher 包合并并移除 sher 包。完善 collection 包测试用例

This commit is contained in:
kercylan98
2024-01-11 17:50:04 +08:00
parent 3408c212d0
commit 66d903474d
111 changed files with 3538 additions and 3486 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func TestCond(t *testing.T) {
player := &Player{
tasks: map[string][]*Task{
task.Type: []*Task{task},
task.Type: {task},
},
}
OnRefreshTaskCounterEvent(task.Type, player, 1)