package data type CopyArenaMatch struct { Id int `json:"id"` //索引 Range0 []int `json:"range0"` //自身排名归属 Range1 []int `json:"range1"` //对手1排名归属 } func (data *CopyArenaMatch) id() int { return data.Id } type CopyArenaMatchTable struct { table[int, *CopyArenaMatch] }