Documentation
¶
Overview ¶
copied from https://github.com/golangci/golangci-lint/blob/master/pkg/result/issue.go
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 IPos token.Pos Pos token.Position LineRange *Range `json:",omitempty"` // HunkPos is used only when golangci-lint is run over a diff HunkPos int `json:",omitempty"` // 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 }
func (*Issue) GetLineRange ¶
type Replacement ¶
Click to show internal directories.
Click to hide internal directories.