diff options
| -rw-r--r-- | configureENV.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configureENV.go b/configureENV.go index 9df536b..55b60ea 100644 --- a/configureENV.go +++ b/configureENV.go @@ -84,7 +84,7 @@ func useGoSrc() (string, error) { return pwd, err } -func goWorkExists(dir string) bool { +func GoWorkExists(dir string) bool { var err error workFilePath := filepath.Join(dir, "go.work") if _, err = os.Stat(workFilePath); err == nil { @@ -102,7 +102,7 @@ func goWorkExists(dir string) bool { // findGoWork searches for a "go.work" file starting from the current directory // and moving up the directory tree. It returns the path to the directory containing // the file and a boolean indicating whether the file was found. -func findGoWork() (string, bool) { +func FindGoWork() (string, bool) { dir, err := os.Getwd() if err != nil { return "", false |
