godeep

package module
v0.0.0-...-df8cab7 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

godeep

Dependency checker for packages

This is a samll executable with helps you detect the cyclic imports and print a tree of packages which import other packages

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPackages

func FindPackages(allPackages *Packages, rootPath string, onDone func(path string)) error

Types

type Package

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

func (*Package) Print

func (p *Package) Print()

type Packages

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

func InitPackages

func InitPackages() *Packages

func (*Packages) Exist

func (a *Packages) Exist(pkg *packages.Package) bool

func (*Packages) Fill

func (a *Packages) Fill(pkg *packages.Package)

func (*Packages) ForEach

func (a *Packages) ForEach(f func(pkgPath string, pkg *Package))

func (*Packages) GetByPath

func (a *Packages) GetByPath(pkgPath string) *Package

func (*Packages) Insert

func (a *Packages) Insert(pkg *Package)

func (*Packages) Marshal

func (a *Packages) Marshal() []byte

func (*Packages) Reset

func (a *Packages) Reset()

func (*Packages) Unmarshal

func (a *Packages) Unmarshal(data []byte) error

Directories

Path Synopsis
cmd
godeep command

Jump to

Keyboard shortcuts

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