package
0.13.2
Repository: https://github.com/icholy/gomajor.git
Documentation: pkg.go.dev

# Functions

Direct returns a list of all modules that are direct dependencies.
FindModFile recursively searches up the directory structure until it finds the go.mod, reaches the root of the directory tree, or encounters an error.
JoinPath creates a full package path given a module prefix, version, and package directory.
ModMajor returns the major version in vN format.
ModPrefix returns the module path with no SIV.
SplitPath splits the package path into the module path and the package subdirectory.
SplitSpec splits the path/to/package@query format strings.