From d4f6e81437a21e54984adf8a5d2527a2b0808df5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 27 Oct 2025 10:45:19 -0500 Subject: make these global --- configureENV.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configureENV.go') 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 -- cgit v1.2.3