From 5d232293a002cc4b5bcb949a0e329337ab4e90b4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 06:36:28 -0600 Subject: lots of cleanups --- scanIterator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scanIterator.go') 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. -- cgit v1.2.3