Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeadCode

func DeadCode(projectPath string) []string

Types

type Package

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

func (*Package) Visit

func (p *Package) Visit(node ast.Node) ast.Visitor

Visits files for used nodes.

type Report

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

type Reports

type Reports []Report

func (Reports) Len

func (l Reports) Len() int

func (Reports) Less

func (l Reports) Less(i, j int) bool

func (Reports) Swap

func (l Reports) Swap(i, j int)

Source Files