lint

package
v2.0.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2018 License: MIT, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package lint defines common interfaces for Go code checkers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Program(*loader.Program)
	Check() ([]Issue, error)
}

A Checker points out issues in a program.

type Issue

type Issue interface {
	Pos() token.Pos
	Message() string
}

Issue represents an issue somewhere in a source code file.

type WithSSA

type WithSSA interface {
	ProgramSSA(*ssa.Program)
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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