Documentation ¶
Index ¶
- Variables
- func EditModRequired(packagePath, newModule string) error
- func EditModule(packagePath, newModule string) error
- func GoModValidate(packagePath string) error
- func ModFile(goModPath string) (*modfile.File, error)
- func ReplaceImport(sourceFile string, baseModule string, majorVersion uint64) error
- func UpdatePackageModule(newVersion string, packagePath, baseModule string, suffixs ...string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidModule = fmt.Errorf("go.mod does not allow to include other versions of module")
Functions ¶
func EditModRequired ¶
func EditModule ¶
func ReplaceImport ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.