(i, j int)
| 66 | } |
| 67 | |
| 68 | func (s IntervalSlice) Less(i, j int) bool { |
| 69 | if s[i].Start < s[j].Start { |
| 70 | return true |
| 71 | } else if s[i].Start > s[j].Start { |
| 72 | return false |
| 73 | } else { |
| 74 | return s[i].Stop < s[j].Stop |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | func (s IntervalSlice) Swap(i, j int) { |
| 79 | s[i], s[j] = s[j], s[i] |
nothing calls this directly
no outgoing calls
no test coverage detected