issue

package
v0.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2019 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ERROR = "ERROR"
View Source
const NOTICE = "NOTICE"
View Source
const WARNING = "WARNING"

Variables

This section is empty.

Functions

This section is empty.

Types

type ByFile

type ByFile struct {
	Issues
}

func (ByFile) Less

func (b ByFile) Less(i, j int) bool

type ByFileLine added in v0.3.5

type ByFileLine struct {
	Issues
}

func (ByFileLine) Less added in v0.3.5

func (b ByFileLine) Less(i, j int) bool

type ByLine

type ByLine struct {
	Issues
}

func (ByLine) Less

func (b ByLine) Less(i, j int) bool

type Issue

type Issue struct {
	Detector string `json:"detector"`
	Type     string `json:"type"`
	Message  string `json:"message"`
	Line     int    `json:"line"`
	File     string `json:"file"`
	Link     string `json:"link"`
}

type Issues

type Issues []*Issue

func (Issues) Len

func (is Issues) Len() int

func (Issues) Swap

func (is Issues) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL