summaryrefslogtreecommitdiff
path: root/goSrcFind.go
diff options
context:
space:
mode:
Diffstat (limited to 'goSrcFind.go')
-rw-r--r--goSrcFind.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/goSrcFind.go b/goSrcFind.go
index 02b7659..cef82bb 100644
--- a/goSrcFind.go
+++ b/goSrcFind.go
@@ -4,12 +4,6 @@ package forgepb
// If there is a go.work file in your parent, that directory will be returned
// otherwise, return ~/go/src
-import (
- "fmt"
- "os"
- "path/filepath"
-)
-
func (f *Forge) GetHome() string {
return f.Config.ReposDir
}
@@ -70,6 +64,7 @@ func (f *Forge) goWorkExists() bool {
}
*/
+/*
func digup(path string) (string, error) {
for {
workFilePath := filepath.Join(path, "go.work")
@@ -88,3 +83,4 @@ func digup(path string) (string, error) {
return "", fmt.Errorf("no go.work file found")
}
+*/