deadcode

package
Version: v0.0.0-...-14bc36d Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 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)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL