type attributesSlice … func (attrs attributesSlice) Len() int { … } func (attrs attributesSlice) Less(i, j int) bool { … } func (attrs attributesSlice) Swap(i, j int) { … }
type attributesSlice … func (attrs attributesSlice) Len() int { … } func (attrs attributesSlice) Less(i, j int) bool { … } func (attrs attributesSlice) Swap(i, j int) { … }