package
0.0.0-20201020153340-53909ea70814
Repository: https://github.com/gagliardetto/golang-go.git
Documentation: pkg.go.dev

# Functions

CleanPatterns returns the patterns to use for the given command line.
ImportPaths returns the matching paths to use for the given command line.
ImportPathsQuiet is like ImportPaths but does not warn about patterns with no matches.
InDir checks whether path is in the file tree rooted at dir.
IsMetaPackage checks if name is a reserved package name that expands to multiple packages.
IsRelativePath reports whether pattern should be interpreted as a directory path relative to the current directory, as opposed to a pattern matching import paths.
IsStandardImportPath reports whether $GOROOT/src/path should be considered part of the standard distribution.
MatchPackages returns all the packages that can be found under the $GOPATH directories and $GOROOT matching pattern.
MatchPackagesInFS is like MatchPackages but is passed a pattern that begins with an absolute path or "./" or "../".
MatchPattern(pattern)(name) reports whether name matches pattern.
No description provided by the author
TreeCanMatchPattern(pattern)(name) reports whether name or children of name can possibly match pattern.
WarnUnmatched warns about patterns that didn't match any packages.

# Structs

A Match represents the result of matching a single package pattern.