package
0.18.1
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

IsCommandLineArguments reports whether a given value denotes "command-line-arguments" package, which is a package with an unknown ID created by the go command.
IsValidImport returns whether from may import to.
RemoveIntermediateTestVariants removes intermediate test variants, modifying the array.
SortPostOrder sorts the IDs so that if x depends on y, then y appears before x.
UnquoteImportPath returns the unquoted import path of s, or "" if the path is not properly quoted.

# Structs

A Graph is an immutable and transitively closed graph of [Package] data.
Package represents package metadata retrieved from go/packages.

# Interfaces

A Source maps package IDs to metadata for the packages.

# Type aliases

Declare explicit types for package paths, names, and IDs to ensure that we never use an ID where a path belongs, and vice versa.
Declare explicit types for package paths, names, and IDs to ensure that we never use an ID where a path belongs, and vice versa.
Declare explicit types for package paths, names, and IDs to ensure that we never use an ID where a path belongs, and vice versa.
Declare explicit types for package paths, names, and IDs to ensure that we never use an ID where a path belongs, and vice versa.