deadcode

package
v0.0.0-...-7720946 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 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)

Jump to

Keyboard shortcuts

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