result

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: AGPL-3.0 Imports: 1 Imported by: 0

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

	Pos       token.Position
	LineRange *Range `json:",omitempty"`
	HunkPos   int    `json:",omitempty"`
}

func (Issue) Column added in v1.7.1

func (i Issue) Column() int

func (Issue) FilePath

func (i Issue) FilePath() string

func (Issue) GetLineRange

func (i Issue) GetLineRange() Range

func (Issue) Line

func (i Issue) Line() int

type Range

type Range struct {
	From, To int
}

type Result

type Result struct {
	Issues           []Issue
	MaxIssuesPerFile int // Needed for gofmt and goimports where it is 1
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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