(i, j int)
| 96 | } |
| 97 | |
| 98 | func (ls AccessListSort) Less(i, j int) bool { |
| 99 | if ls[i].Group != ls[j].Group { |
| 100 | return ls[i].Group < ls[j].Group |
| 101 | } |
| 102 | if ls[i].Cname != ls[j].Cname { |
| 103 | return ls[i].Cname < ls[j].Cname |
| 104 | } |
| 105 | return ls[i].Name < ls[j].Name |
| 106 | } |
| 107 | |
| 108 | func (ls AccessListSort) Swap(i, j int) { |
| 109 | ls[i], ls[j] = ls[j], ls[i] |
nothing calls this directly
no outgoing calls
no test coverage detected