unused

package
v0.0.1-2019.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 15 Imported by: 167

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

	Nodes sync.Map // map[interface{}]*Node

	TypeNodes typeutil.Map
	// 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