deadcode

package
v0.0.0-...-e2e2fe3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

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