package data type AudioConfig struct { Id int `json:"id"` //索引(ID) } func (data *AudioConfig) id() int { return data.Id } type AudioConfigTable struct { table[int, *AudioConfig] }