diff options
| author | Jeff Carr <[email protected]> | 2025-11-02 08:59:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-02 08:59:12 -0600 |
| commit | 7190028798229ba7a2bbfe549ccde2749e87edd8 (patch) | |
| tree | db0587730a583cfd14d236e57a098363005ce2ec /goDep.helpers.go | |
| parent | fab6dbd6041a6ee346fba0e8486b643eaf59667c (diff) | |
working on a newer repo.protodevel
Diffstat (limited to 'goDep.helpers.go')
| -rw-r--r-- | goDep.helpers.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/goDep.helpers.go b/goDep.helpers.go index 271e67b..3fc3f21 100644 --- a/goDep.helpers.go +++ b/goDep.helpers.go @@ -8,12 +8,12 @@ import ( ) func (repo *Repo) DeleteGoDepByHash(hash string) { - repo.GoDeps.DeleteByHash(hash) + repo.GoInfo.GoDeps.DeleteByHash(hash) } // enforces no duplicate package names func (repo *Repo) AppendGoDep(newP *GoDep) bool { - return repo.GoDeps.AppendByGoPath(newP) + return repo.GoInfo.GoDeps.AppendByGoPath(newP) } // returns time.Duration since last scan of go.sum & go.mod @@ -24,5 +24,5 @@ func (repo *Repo) AgeGoDep() time.Duration { // find a dependancy by the go path func (repo *Repo) FindGoDepByPath(gopath string) *GoDep { - return repo.GoDeps.FindByGoPath(gopath) + return repo.GoInfo.GoDeps.FindByGoPath(gopath) } |
