diff options
| author | Jeff Carr <[email protected]> | 2025-10-27 10:45:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-27 10:45:19 -0500 |
| commit | d4f6e81437a21e54984adf8a5d2527a2b0808df5 (patch) | |
| tree | 1147e01ed15ea54d7445f1468f27d367c3225471 | |
| parent | ef958e5b4360b9fe196ca3913777481fad690a1d (diff) | |
make these globalv0.0.42
| -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 |
