diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 06:36:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 06:36:28 -0600 |
| commit | 5d232293a002cc4b5bcb949a0e329337ab4e90b4 (patch) | |
| tree | e5f7422210227239f04601b6f76f9a78ca442a60 /scanIterator.go | |
| parent | 1d124c7dbfdfd9bc4cb82f74b4883791c9f185b8 (diff) | |
lots of cleanups
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. |
