parse

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirTree

func DirTree(root string) ([]*pkgs.Package, error)

DirTree is parsing the whole directory tree starting at root looking for Go packages and analyzing them.

func RootPkg

func RootPkg(pkgs []*pkgs.Package) string

RootPkg returns the package path of the root package of all the given packages. It does so by returning the longest common prefix of all package paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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