package
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Mar 5, 2025
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
¶
Replace checks if the given directory exists and contains a valid Go module,
returns the absolute path of the directory and the module path
type GoMod struct {
Module struct {
Path string `json:"Path"`
} `json:"Module"`
}
type ModuleInfo struct {
Module struct {
Path string `json:"Path"`
} `json:"Module"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.