| 11 | } |
| 12 | |
| 13 | type sorter struct { |
| 14 | order map[string]int |
| 15 | kvs []KeyValues |
| 16 | } |
| 17 | |
| 18 | func (s *sorter) Len() int { return len(s.kvs) } |
| 19 | func (s *sorter) Swap(i, j int) { s.kvs[i], s.kvs[j] = s.kvs[j], s.kvs[i] } |
nothing calls this directly
no outgoing calls
no test coverage detected