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: 0

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

Jump to

Keyboard shortcuts

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