tools: golang.org/x/tools/go/loader Index | Examples | Files | Directories

Packages imported by loader

PathSynopsis
errorsPackage errors implements functions to manipulate errors.
fmtPackage fmt implements formatted I/​O with functions analogous to C's printf and scanf.
go/astPackage ast declares the types used to represent syntax trees for Go packages.
go/buildPackage build gathers information about Go packages.
go/parserPackage parser implements a parser for Go source files.
go/tokenPackage token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
go/typesPackage types declares the data types and implements the algorithms for type-checking of Go packages.
golang.org/x/tools/go/ast/astutilPackage astutil contains common utilities for working with the Go AST.
golang.org/x/tools/go/buildutilPackage buildutil provides utilities related to the go/​build package in the standard library.
ioPackage io provides basic interfaces to I/​O primitives.
io/ioutilPackage ioutil implements some I/​O utility functions.
logPackage log implements a simple logging package.
osPackage os provides a platform-independent interface to operating system functionality.
os/execPackage exec runs external commands.
path/filepathPackage filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
regexpPackage regexp implements regular expression search.
sortPackage sort provides primitives for sorting slices and user-defined collections.
strconvPackage strconv implements conversions to and from string representations of basic data types.
stringsPackage strings implements simple functions to manipulate UTF-8 encoded strings.
syncPackage sync provides basic synchronization primitives such as mutual exclusion locks.
timePackage time provides functionality for measuring and displaying time.