add GetHome()
This commit is contained in:
parent
83ad663fc0
commit
3278f6400e
|
@ -12,6 +12,10 @@ import (
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func (f *Forge) GetHome() string {
|
||||||
|
return f.goSrc
|
||||||
|
}
|
||||||
|
|
||||||
// look for a go.work file
|
// look for a go.work file
|
||||||
// otherwise use ~/go/src
|
// otherwise use ~/go/src
|
||||||
func (f *Forge) findGoSrc() (string, error) {
|
func (f *Forge) findGoSrc() (string, error) {
|
||||||
|
|
Loading…
Reference in New Issue