package
1.23.0
Repository: https://github.com/shogo82148/std.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.
NewMatch returns a Match describing the given pattern, without resolving its packages or errors.
WarnUnmatched warns about patterns that didn't match any packages.

# Structs

A Match represents the result of matching a single package pattern.
A MatchError indicates an error that occurred while attempting to match a pattern.