Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issue ¶
type Issue struct { FromLinter string Text string // Source lines of a code with the issue to show SourceLines []string // If we know how to fix the issue we can provide replacement lines Replacement *Replacement // Pkg is needed for proper caching of linting results Pkg *packages.Package `json:"-"` LineRange *Range `json:",omitempty"` Pos token.Position // HunkPos is used only when golangci-lint is run over a diff HunkPos int `json:",omitempty"` }
func (*Issue) GetLineRange ¶
type Replacement ¶ added in v1.15.0
Click to show internal directories.
Click to hide internal directories.