摘要:
package mainimport ( "fmt")type Pair struct { a int b int}type PairAndFreq struct { Pair Freq int}type PairSlice []PairAndFreqtype PairSliceSlice []PairSlicefunc (pss PairSliceSlice) Weed() { fmt.Println(pss[0]) weed(pss[0]) fmt.Println(pss[0])}func weed(ps PairSlice) { m ... 阅读全文