- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FindGoMod (0.31 sec)
-
src/cmd/go/internal/modload/init.go
default: return false } return FindGoMod(base.Cwd()) != "" } // FindGoMod returns the name of the go.mod file for this command, // or the empty string if there isn't one. // Most code should use Init and Enabled rather than use this directly. // It is exported mainly for Go toolchain switching, which must process // the go.mod very early at startup. func FindGoMod(wd string) string { modRoot := findModuleRoot(wd)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0)