package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Apr 13, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package gomod locates the Go module root and computes import paths.
Info holds the result of locating a Go module.
Find walks up from dir searching for a go.mod file.
It returns the module root and path for the first go.mod found.
ImportPath returns the Go import path for dir within this module.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.