From 7190028798229ba7a2bbfe549ccde2749e87edd8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 2 Nov 2025 08:59:12 -0600 Subject: working on a newer repo.proto --- goDep.helpers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'goDep.helpers.go') 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) } -- cgit v1.2.3