unused

package
v0.0.1-2020.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: MIT Imports: 15 Imported by: 156

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	WholeProgram bool
	Debug        io.Writer
	// contains filtered or unexported fields
}

func NewChecker

func NewChecker(wholeProgram bool) *Checker

func (*Checker) Analyzer

func (c *Checker) Analyzer() *analysis.Analyzer

func (*Checker) ProblemObject

func (c *Checker) ProblemObject(fset *token.FileSet, obj types.Object) lint.Problem

func (*Checker) Result

func (c *Checker) Result() []types.Object

func (*Checker) Run

func (c *Checker) Run(pass *analysis.Pass) (interface{}, error)

type ConstGroup

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

func (ConstGroup) String

func (ConstGroup) String() string

type Graph added in v0.4.0

type Graph struct {
	Root *Node

	TypeNodes typeutil.Map
	Nodes     map[interface{}]*Node
	// contains filtered or unexported fields
}

func NewGraph

func NewGraph() *Graph

type Node added in v0.4.0

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

Jump to

Keyboard shortcuts

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