package
module
Version:
v0.2.4
Opens a new window with list of versions in this module.
Published: Mar 25, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 18
Opens a new window with list of known importers.
README
¶
gomoddirectives
A linter that handle replace
, retract
, exclude
directives into go.mod
.
Features:
Documentation
¶
Package gomoddirectives a linter that handle `replace`, `retract`, `exclude` directives into `go.mod`.
GetModuleFile gets module file.
type Options struct {
ReplaceAllowList []string
ReplaceAllowLocal bool
ExcludeForbidden bool
RetractAllowNoExplanation bool
}
Options the analyzer options.
Result the analysis result.
Analyze analyzes a project.
AnalyzeFile analyzes a mod file.
NewResult creates a new Result.
Source Files
¶
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.