Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrGoModNotFound = errors.New("go.mod not found in directory tree")
ErrGoModNotFound is returned when no go.mod file can be found in the directory tree.
Functions ¶
func FindGoModPath ¶
FindGoModPath searches for the go.mod file starting from the current working directory and walking up the directory tree until it finds go.mod or reaches the filesystem root. It returns the absolute path to the go.mod file, or ErrGoModNotFound if not found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.