From 3d260a0219841f4835d6a0d0e370bde483f35d08 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 29 Nov 2024 21:51:30 -0600 Subject: updates for autogenpb --- repo.new.go | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'repo.new.go') diff --git a/repo.new.go b/repo.new.go index 1480051..60dd263 100644 --- a/repo.new.go +++ b/repo.new.go @@ -36,7 +36,7 @@ func (all *Repos) NewGoPath(basepath string, gopath string) (*Repo, error) { // newr.UpdateGit() newr.UpdateGitTags() - all.add(&newr) + all.AppendUniqueGoPath(&newr) return &newr, nil } @@ -73,3 +73,15 @@ func (repo *Repo) isPrimativeGoMod() (bool, error) { } return true, nil } + +func (repo *Repo) SetMasterBranchName(bname string) { + repo.MasterBranchName = bname +} + +func (repo *Repo) SetDevelBranchName(bname string) { + repo.DevelBranchName = bname +} + +func (repo *Repo) SetUserBranchName(bname string) { + repo.UserBranchName = bname +} -- cgit v1.2.3