package
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Mar 5, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gomodreplace
A linter that handle replace
directives into go.mod
Features:
- ban all
replace
directives
- allow only local
replace
directives
- allow only some
replace
directives
Documentation
¶
Package gomodreplace a linter that handle `replace` directives into `go.mod`
GetModuleFile gets module file.
type Options struct {
AllowList []string
AllowLocal bool
}
Options the analyzer options.
Result the analysis result.
Analyze analyzes a project.
Source Files
¶
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.