add GetHome()

This commit is contained in:
Jeff Carr 2025-02-10 23:30:15 -06:00
parent 83ad663fc0
commit 3278f6400e
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ import (
"go.wit.com/log"
)
func (f *Forge) GetHome() string {
return f.goSrc
}
// look for a go.work file
// otherwise use ~/go/src
func (f *Forge) findGoSrc() (string, error) {