type Unwanted …
type UnwantedSpec …
type UnwantedStatus …
func runCommand(cmd ...string) (string, error) { … }
func runCommandInDir(dir string, cmd []string) (string, error) { … }
func readFile(path string) (string, error) { … }
func moduleInSlice(a module, list []module, matchVersion bool) bool { … }
func convertToMap(modStr string) ([]module, map[module][]module) { … }
func difference(a, b []string) ([]string, []string) { … }
type module …
func (m module) String() string { … }
func parseModule(s string) module { … }
func main() { … }
func visit(visitor func(m module, via []module), main module, references map[module][]module, effectiveVersions map[string]module) { … }
func doVisit(visitor func(m module, via []module), from module, via []module, visited map[module]bool, references map[module][]module, effectiveVersions map[string]module) { … }