摘要: 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 ... 阅读全文
posted @ 2014-02-14 10:11 ggaaooppeenngg 阅读(289) 评论(0) 推荐(0) 编辑