summaryrefslogtreecommitdiff
path: root/repo.helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'repo.helpers.go')
-rw-r--r--repo.helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo.helpers.go b/repo.helpers.go
index 7cc6d5a..3420526 100644
--- a/repo.helpers.go
+++ b/repo.helpers.go
@@ -17,7 +17,7 @@ func (all *Repos) DeleteByPath(gopath string) *Repo {
}
// find a package by gopath
-func (all *Repos) FindByPath(gopath string) *Repo {
+func (all *Repos) FindByGoPath(gopath string) *Repo {
repolock.RLock()
defer repolock.RUnlock()