pkgwalker

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BreadthFirstWalker

type BreadthFirstWalker struct {
	OnPackage OnPackageFunc
	OnErr     func(err error) Next
	// contains filtered or unexported fields
}

func (*BreadthFirstWalker) Walk

func (w *BreadthFirstWalker) Walk(pkg string)

type Next

type Next int
const (
	Continue Next = iota
	StopPkg
	StopAll
)

type OnPackageFunc added in v0.0.3

type OnPackageFunc func(pkg, fromPkg string) Next

Jump to

Keyboard shortcuts

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