diff options
Diffstat (limited to 'scanIterator.go')
| -rw-r--r-- | scanIterator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scanIterator.go b/scanIterator.go index 8c50767..c780eae 100644 --- a/scanIterator.go +++ b/scanIterator.go @@ -78,7 +78,7 @@ func (r *RepoList) UnmergedRepos() *RepoIterator { type ByName []*RepoRow func (a ByName) Len() int { return len(a) } -func (a ByName) Less(i, j int) bool { return a[i].GoPath() < a[j].GoPath() } +func (a ByName) Less(i, j int) bool { return a[i].GetGoPath() < a[j].GetGoPath() } func (a ByName) Swap(i, j int) { a[i], a[j] = a[j], a[i] } // SelectRepoPointers safely returns a slice of pointers to Repo records. |
