Documentation ¶
Overview ¶
Package gomod implements the main logic of the analysis for go.mod files. It currently supports auto-approval of changes which involve comments and formatting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer is an analyzer for yaml files.
func (*Analyzer) BaseIRBuild ¶
BaseIRBuild builds intermediate representation for relevant files in the base diff.
func (*Analyzer) ChangesEq ¶
ChangesEq returns true if the changes between go.mod files in base and last diffs are equivalent.
func (*Analyzer) IsAnalyzable ¶
IsAnalyzable determines if a given file name represents file analyzable by this analyzer.
Click to show internal directories.
Click to hide internal directories.