Documentation ¶
Overview ¶
Package gomoddirectives a linter that handle `replace`, `retract`, `exclude` directives into `go.mod`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModuleFile ¶
GetModuleFile gets module file. It's better to use [GetGoModFile] instead of this function.
Types ¶
type Options ¶
type Options struct { ReplaceAllowList []string ReplaceAllowLocal bool ExcludeForbidden bool RetractAllowNoExplanation bool }
Options the analyzer options.
type Result ¶
Result the analysis result.
func AnalyzeFile ¶ added in v0.2.0
AnalyzeFile analyzes a mod file.
func AnalyzePass ¶ added in v0.4.0
AnalyzePass analyzes a pass.
Click to show internal directories.
Click to hide internal directories.