check

package
v2.0.11+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2018 License: MIT, BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package check implements the unparam linter. Note that its API is not stable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnusedParams

func UnusedParams(tests, debug bool, args ...string) ([]string, error)

Types

type Checker

type Checker struct {
	// 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)

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