diff options
Diffstat (limited to 'update.go')
| -rw-r--r-- | update.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/update.go b/update.go new file mode 100644 index 0000000..2ad64cf --- /dev/null +++ b/update.go @@ -0,0 +1,11 @@ +package forgepb + +import ( + "os" +) + +func (repos *Repos) UpdateGoPath(r *Repo, gopath string) { + r.Gopath = gopath + repos.ConfigSave() + os.Exit(0) +} |
