check

package
v2.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: MIT, BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckArgs

func CheckArgs(args []string) ([]string, error)

CheckArgs checks the packages specified by their import paths in args.

Types

type Checker

type Checker struct {
	*loader.PackageInfo
	// contains filtered or unexported fields
}

func (*Checker) Check

func (c *Checker) Check() ([]lint.Issue, error)

func (*Checker) Program

func (c *Checker) Program(lprog *loader.Program)

func (*Checker) ProgramSSA

func (c *Checker) ProgramSSA(prog *ssa.Program)

func (*Checker) Visit

func (c *Checker) Visit(node ast.Node) ast.Visitor

type Issue

type Issue struct {
	// contains filtered or unexported fields
}

func (Issue) Message

func (i Issue) Message() string

func (Issue) Pos

func (i Issue) Pos() token.Pos

Jump to

Keyboard shortcuts

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