Documentation
¶
Index ¶
- func GoFileWalk(rootPath string, includePaths []string) (fileList []string, err error)
- func IncludePaths(rootPath string, config map[string]interface{}) []string
- func LoadConfig() (config map[string]interface{}, err error)
- func PrintIssue(issue *Issue) (err error)
- func PrintWarning(warning *Warning) (err error)
- type Config
- type Issue
- type LineColumn
- type LineColumnPosition
- type LinesOnlyPosition
- type Location
- type Warning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoFileWalk ¶
func IncludePaths ¶
func LoadConfig ¶
func PrintIssue ¶
func PrintWarning ¶
Types ¶
type LineColumn ¶
type LineColumnPosition ¶
type LineColumnPosition struct {
Begin *LineColumn `json:"begin,omitempty"`
End *LineColumn `json:"end,omitempty"`
}
type LinesOnlyPosition ¶
type Location ¶
type Location struct {
Path string `json:"path"`
Lines *LinesOnlyPosition `json:"lines,omitempty"`
Positions *LineColumnPosition `json:"positions,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.