Documentation
¶
Overview ¶
Package modpath locates the nearest go.mod above a directory and extracts its module declaration. Shared by the generator (to build import paths in seed registries) and the CLI (to scaffold the user's cmd/peng/main.go with a correct seeds import).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("go.mod not found")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.