Name | Synopsis |
---|---|
archive | |
tar | Package tar implements access to tar archives. |
zip | Package zip provides support for reading and writing ZIP archives. |
bufio | Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O. |
builtin | Package builtin provides documentation for Go's predeclared identifiers. |
bytes | Package bytes implements functions for the manipulation of byte slices. |
compress | |
bzip2 | Package bzip2 implements bzip2 decompression. |
flate | Package flate implements the DEFLATE compressed data format, described in RFC 1951. |
gzip | Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952. |
lzw | Package lzw implements the Lempel-Ziv-Welch compressed data format, described in T. A. Welch, “A Technique for High-Performance Data Compression”, Computer, 17(6) (June 1984), pp 8-19. |
zlib | Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950. |
container | |
heap | Package heap provides heap operations for any type that implements heap.Interface. |
list | Package list implements a doubly linked list. |
ring | Package ring implements operations on circular lists. |
context | Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
crypto | Package crypto collects common cryptographic constants. |
aes | Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197. |
boring | Package boring exposes functions that are only available when building with Go+BoringCrypto. |
cipher | Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations. |
des | Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3. |
dsa | Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3. |
ecdsa | Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-4 and SEC 1, Version 2.0. |
ed25519 | Package ed25519 implements the Ed25519 signature algorithm. |
elliptic | Package elliptic implements the standard NIST P-224, P-256, P-384, and P-521 elliptic curves over prime fields. |
hmac | Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198. |
md5 | Package md5 implements the MD5 hash algorithm as defined in RFC 1321. |
rand | Package rand implements a cryptographically secure random number generator. |
rc4 | Package rc4 implements RC4 encryption, as defined in Bruce Schneier's Applied Cryptography. |
rsa | Package rsa implements RSA encryption as specified in PKCS #1 and RFC 8017. |
sha1 | Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174. |
sha256 | Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4. |
sha512 | Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4. |
subtle | Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly. |
tls | Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446. |
fipsonly | Package fipsonly restricts all TLS configuration to FIPS-approved settings. |
x509 | Package x509 parses X.509-encoded keys and certificates. |
pkix | Package pkix contains shared, low level structures used for ASN.1 parsing and serialization of X.509 certificates, CRL and OCSP. |
database | |
sql | Package sql provides a generic interface around SQL (or SQL-like) databases. |
driver | Package driver defines interfaces to be implemented by database drivers as used by package sql. |
debug | |
buildinfo | Package buildinfo provides access to information embedded in a Go binary about how it was built. |
dwarf | Package dwarf provides access to DWARF debugging information loaded from executable files, as defined in the DWARF 2.0 Standard at http://dwarfstd.org/doc/dwarf-2.0.0.pdf |
elf | Package elf implements access to ELF object files. |
gosym | Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers. |
macho | Package macho implements access to Mach-O object files. |
pe | Package pe implements access to PE (Microsoft Windows Portable Executable) files. |
plan9obj | Package plan9obj implements access to Plan 9 a.out object files. |
embed | Package embed provides access to files embedded in the running Go program. |
encoding | Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations. |
ascii85 | Package ascii85 implements the ascii85 data encoding as used in the btoa tool and Adobe's PostScript and PDF document formats. |
asn1 | Package asn1 implements parsing of DER-encoded ASN.1 data structures, as defined in ITU-T Rec X.690. |
base32 | Package base32 implements base32 encoding as specified by RFC 4648. |
base64 | Package base64 implements base64 encoding as specified by RFC 4648. |
binary | Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. |
csv | Package csv reads and writes comma-separated values (CSV) files. |
gob | Package gob manages streams of gobs - binary values exchanged between an Encoder (transmitter) and a Decoder (receiver). |
hex | Package hex implements hexadecimal encoding and decoding. |
json | Package json implements encoding and decoding of JSON as defined in RFC 7159. |
pem | Package pem implements the PEM data encoding, which originated in Privacy Enhanced Mail. |
xml | Package xml implements a simple XML 1.0 parser that understands XML name spaces. |
errors | Package errors implements functions to manipulate errors. |
expvar | Package expvar provides a standardized interface to public variables, such as operation counters in servers. |
flag | Package flag implements command-line flag parsing. |
fmt | Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
go | |
ast | Package ast declares the types used to represent syntax trees for Go packages. |
build | Package build gathers information about Go packages. |
constraint | Package constraint implements parsing and evaluation of build constraint lines. |
constant | Package constant implements Values representing untyped Go constants and their corresponding operations. |
doc | Package doc extracts source code documentation from a Go AST. |
comment | Package comment implements parsing and reformatting of Go doc comments, (documentation comments), which are comments that immediately precede a top-level declaration of a package, const, func, type, or var. |
format | Package format implements standard formatting of Go source. |
importer | Package importer provides access to export data importers. |
parser | Package parser implements a parser for Go source files. |
printer | Package printer implements printing of AST nodes. |
scanner | Package scanner implements a scanner for Go source text. |
token | Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates). |
types | Package types declares the data types and implements the algorithms for type-checking of Go packages. |
hash | Package hash provides interfaces for hash functions. |
adler32 | Package adler32 implements the Adler-32 checksum. |
crc32 | Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum. |
crc64 | Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum. |
fnv | Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions created by Glenn Fowler, Landon Curt Noll, and Phong Vo. |
maphash | Package maphash provides hash functions on byte sequences. |
html | Package html provides functions for escaping and unescaping HTML text. |
template | Package template (html/template) implements data-driven templates for generating HTML output safe against code injection. |
image | Package image implements a basic 2-D image library. |
color | Package color implements a basic color library. |
palette | Package palette provides standard color palettes. |
draw | Package draw provides image composition functions. |
gif | Package gif implements a GIF image decoder and encoder. |
jpeg | Package jpeg implements a JPEG image decoder and encoder. |
png | Package png implements a PNG image decoder and encoder. |
index | |
suffixarray | Package suffixarray implements substring search in logarithmic time using an in-memory suffix array. |
io | Package io provides basic interfaces to I/O primitives. |
fs | Package fs defines basic interfaces to a file system. |
ioutil | Package ioutil implements some I/O utility functions. |
log | Package log implements a simple logging package. |
syslog | Package syslog provides a simple interface to the system log service. |
math | Package math provides basic constants and mathematical functions. |
big | Package big implements arbitrary-precision arithmetic (big numbers). |
bits | Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types. |
cmplx | Package cmplx provides basic constants and mathematical functions for complex numbers. |
rand | Package rand implements pseudo-random number generators unsuitable for security-sensitive work. |
mime | Package mime implements parts of the MIME spec. |
multipart | Package multipart implements MIME multipart parsing, as defined in RFC 2046. |
quotedprintable | Package quotedprintable implements quoted-printable encoding as specified by RFC 2045. |
net | Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets. |
http | Package http provides HTTP client and server implementations. |
cgi | Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875. |
cookiejar | Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar. |
fcgi | Package fcgi implements the FastCGI protocol. |
httptest | Package httptest provides utilities for HTTP testing. |
httptrace | Package httptrace provides mechanisms to trace the events within HTTP client requests. |
httputil | Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package. |
pprof | Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool. |
Package mail implements parsing of mail messages. | |
netip | Package netip defines an IP address type that's a small value type. |
rpc | Package rpc provides access to the exported methods of an object across a network or other I/O connection. |
jsonrpc | Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package. |
smtp | Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321. |
textproto | Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP. |
url | Package url parses URLs and implements query escaping. |
os | Package os provides a platform-independent interface to operating system functionality. |
exec | Package exec runs external commands. |
signal | Package signal implements access to incoming signals. |
user | Package user allows user account lookups by name or id. |
path | Package path implements utility routines for manipulating slash-separated paths. |
filepath | Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. |
plugin | Package plugin implements loading and symbol resolution of Go plugins. |
reflect | Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types. |
regexp | Package regexp implements regular expression search. |
syntax | Package syntax parses regular expressions into parse trees and compiles parse trees into programs. |
runtime | Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. |
asan | |
cgo | Package cgo contains runtime support for code generated by the cgo tool. |
debug | Package debug contains facilities for programs to debug themselves while they are running. |
metrics | Package metrics provides a stable interface to access implementation-defined metrics exported by the Go runtime. |
msan | |
pprof | Package pprof writes runtime profiling data in the format expected by the pprof visualization tool. |
race | Package race implements data race detection logic. |
trace | Package trace contains facilities for programs to generate traces for the Go execution tracer. |
sort | Package sort provides primitives for sorting slices and user-defined collections. |
strconv | Package strconv implements conversions to and from string representations of basic data types. |
strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |
sync | Package sync provides basic synchronization primitives such as mutual exclusion locks. |
atomic | Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms. |
syscall | Package syscall contains an interface to the low-level operating system primitives. |
js | Package js gives access to the WebAssembly host environment when using the js/wasm architecture. |
testing | Package testing provides support for automated testing of Go packages. |
fstest | Package fstest implements support for testing implementations and users of file systems. |
iotest | Package iotest implements Readers and Writers useful mainly for testing. |
quick | Package quick implements utility functions to help with black box testing. |
text | |
scanner | Package scanner provides a scanner and tokenizer for UTF-8-encoded text. |
tabwriter | Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text. |
template | Package template implements data-driven templates for generating textual output. |
parse | Package parse builds parse trees for templates as defined by text/template and html/template. |
time | Package time provides functionality for measuring and displaying time. |
tzdata | Package tzdata provides an embedded copy of the timezone database. |
unicode | Package unicode provides data and functions to test some properties of Unicode code points. |
utf16 | Package utf16 implements encoding and decoding of UTF-16 sequences. |
utf8 | Package utf8 implements functions and constants to support text encoded in UTF-8. |
unsafe | Package unsafe contains operations that step around the type safety of Go programs. |
Name | Synopsis |
---|---|
github.com | |
yuin | |
goldmark | Package goldmark implements functions to convert markdown text to a desired format. |
ast | Package ast defines AST nodes that represent markdown elements. |
extension | |
ast | Package ast defines AST nodes that represents extension's elements |
parser | Package parser contains stuff that are related to parsing a Markdown text. |
renderer | Package renderer renders the given AST to certain formats. |
html | |
testutil | |
text | |
util | Package util provides utility functions for the goldmark. |
golang.org | |
x | |
mod | |
gosumcheck | Gosumcheck checks a go.sum file against a go.sum database server. |
modfile | Package modfile implements a parser and formatter for go.mod files. |
module | Package module defines the module.Version type along with support code. |
semver | Package semver implements comparison of semantic version strings. |
sumdb | Package sumdb implements the HTTP protocols for serving or accessing a module checksum database. |
dirhash | Package dirhash defines hashes over directory trees. |
note | Package note defines the notes signed by the Go module database server. |
storage | Package storage defines storage interfaces for and a basic implementation of a checksum database. |
tlog | Package tlog implements a tamper-evident log used in the Go module go.sum database server. |
zip | Package zip provides functions for creating and extracting module zip files. |
sys | |
cpu | Package cpu implements processor feature detection for various CPU architectures. |
execabs | Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths. |
plan9 | Package plan9 contains an interface to the low-level operating system primitives. |
unix | Package unix contains an interface to the low-level operating system primitives. |
linux | |
windows | Package windows contains an interface to the low-level operating system primitives. |
mkwinsyscall | mkwinsyscall generates windows system call bodies |
registry | Package registry provides access to the Windows registry. |
svc | Package svc provides everything required to build Windows service. |
debug | Package debug provides facilities to execute svc.Handler on console. |
eventlog | Package eventlog implements access to Windows event log. |
example | Example service program that beeps. |
mgr | Package mgr can be used to manage Windows service programs. |
tools | |
benchmark | |
parse | Package parse provides support for parsing benchmark results as generated by 'go test -bench'. |
blog | Package blog implements a web server for articles written in present format. |
atom | Package atom defines XML data structures for an Atom feed. |
cmd | |
auth | |
authtest | authtest is a diagnostic tool for implementations of the GOAUTH protocol described in https://golang.org/issue/26232. |
cookieauth | cookieauth uses a “Netscape cookie file” to implement the GOAUTH protocol described in https://golang.org/issue/26232. |
gitauth | gitauth uses 'git credential' to implement the GOAUTH protocol described in https://golang.org/issue/26232. |
netrcauth | netrcauth uses a .netrc file (or _netrc file on Windows) to implement the GOAUTH protocol described in https://golang.org/issue/26232. |
benchcmp | Deprecated: benchcmp is deprecated in favor of benchstat: golang.org/x/perf/cmd/benchstat |
bundle | Bundle creates a single-source-file version of a source package suitable for inclusion in a particular target package. |
callgraph | callgraph: a tool for reporting the call graph of a Go program. |
compilebench | Compilebench benchmarks the speed of the Go compiler. |
cover | Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'. |
digraph | The digraph command performs queries over unlabelled directed graphs represented in text form. |
eg | The eg command performs example-based refactoring. |
file2fuzz | file2fuzz converts binary files, such as those used by go-fuzz, to the Go fuzzing corpus format. |
fiximports | The fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport. |
getgo | The getgo command installs Go to the user's system. |
server | Command server serves get.golang.org, redirecting users to the appropriate getgo installer based on the request path. |
go-contrib-init | The go-contrib-init command helps new Go contributors get their development environment set up for the Go contribution process. |
godex | The godex command prints (dumps) exported information of packages or selected package objects. |
godoc | Godoc extracts and generates documentation for Go programs. |
goimports | Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones. |
gomvpkg | The gomvpkg command moves go packages, updating import declarations. |
gorename | The gorename command performs precise type-safe renaming of identifiers in Go source code. |
gotype | The gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package. |
goyacc | Goyacc is a version of yacc for Go. |
guru | guru: a tool for answering questions about Go source code. |
serial | Package serial defines the guru's schema for -json output. |
html2article | This program takes an HTML file and outputs a corresponding article file in present format. |
present | Present displays slide presentations and articles. |
present2md | Present2md converts legacy-syntax present files to Markdown-syntax present files. |
signature-fuzzer | |
fuzz-driver | |
fuzz-runner | |
splitdwarf | Splitdwarf uncompresses and copies the DWARF segment of a Mach-O executable into the "dSYM" file expected by lldb and ports of gdb on OSX. |
ssadump | ssadump: a tool for displaying and interpreting the SSA form of Go programs. |
stress | The stress utility is intended for catching sporadic failures. |
stringer | Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. |
toolstash | Toolstash provides a way to save, run, and restore a known good copy of the Go toolchain and to compare the object files generated by two toolchains. |
container | |
intsets | Package intsets provides Sparse, a compact and fast representation for sparse sets of int values. |
copyright | Package copyright checks that files have the correct copyright notices. |
cover | Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out". |
go | |
analysis | Package analysis defines the interface between a modular static analysis and an analysis driver program. |
analysistest | Package analysistest provides utilities for testing analyzers. |
multichecker | Package multichecker defines the main function for an analysis driver with several analyzers. |
passes | |
asmdecl | Package asmdecl defines an Analyzer that reports mismatches between assembly files and Go declarations. |
assign | Package assign defines an Analyzer that detects useless assignments. |
atomic | Package atomic defines an Analyzer that checks for common mistakes using the sync/atomic package. |
atomicalign | Package atomicalign defines an Analyzer that checks for non-64-bit-aligned arguments to sync/atomic functions. |
bools | Package bools defines an Analyzer that detects common mistakes involving boolean operators. |
buildssa | Package buildssa defines an Analyzer that constructs the SSA representation of an error-free package and returns the set of all functions within it. |
buildtag | Package buildtag defines an Analyzer that checks build tags. |
cgocall | Package cgocall defines an Analyzer that detects some violations of the cgo pointer passing rules. |
composite | Package composite defines an Analyzer that checks for unkeyed composite literals. |
copylock | Package copylock defines an Analyzer that checks for locks erroneously passed by value. |
ctrlflow | Package ctrlflow is an analysis that provides a syntactic control-flow graph (CFG) for the body of a function. |
deepequalerrors | Package deepequalerrors defines an Analyzer that checks for the use of reflect.DeepEqual with error values. |
errorsas | The errorsas package defines an Analyzer that checks that the second argument to errors.As is a pointer to a type implementing error. |
fieldalignment | Package fieldalignment defines an Analyzer that detects structs that would use less memory if their fields were sorted. |
cmd | |
fieldalignment | |
findcall | Package findcall defines an Analyzer that serves as a trivial example and test of the Analysis API. |
cmd | |
findcall | The findcall command runs the findcall analyzer. |
framepointer | Package framepointer defines an Analyzer that reports assembly code that clobbers the frame pointer before saving it. |
httpresponse | Package httpresponse defines an Analyzer that checks for mistakes using HTTP responses. |
ifaceassert | Package ifaceassert defines an Analyzer that flags impossible interface-interface type assertions. |
cmd | |
ifaceassert | The ifaceassert command runs the ifaceassert analyzer. |
inspect | Package inspect defines an Analyzer that provides an AST inspector (golang.org/x/tools/go/ast/inspector.Inspector) for the syntax trees of a package. |
loopclosure | Package loopclosure defines an Analyzer that checks for references to enclosing loop variables from within nested functions. |
lostcancel | Package lostcancel defines an Analyzer that checks for failure to call a context cancellation function. |
cmd | |
lostcancel | The lostcancel command applies the golang.org/x/tools/go/analysis/passes/lostcancel analysis to the specified packages of Go source code. |
nilfunc | Package nilfunc defines an Analyzer that checks for useless comparisons against nil. |
nilness | Package nilness inspects the control-flow graph of an SSA function and reports errors such as nil pointer dereferences and degenerate nil pointer comparisons. |
cmd | |
nilness | The nilness command applies the golang.org/x/tools/go/analysis/passes/nilness analysis to the specified packages of Go source code. |
pkgfact | The pkgfact package is a demonstration and test of the package fact mechanism. |
printf | Package printf defines an Analyzer that checks consistency of Printf format strings and arguments. |
reflectvaluecompare | Package reflectvaluecompare defines an Analyzer that checks for accidentally using == or reflect.DeepEqual to compare reflect.Value values. |
shadow | Package shadow defines an Analyzer that checks for shadowed variables. |
cmd | |
shadow | The shadow command runs the shadow analyzer. |
shift | Package shift defines an Analyzer that checks for shifts that exceed the width of an integer. |
sigchanyzer | Package sigchanyzer defines an Analyzer that detects misuse of unbuffered signal as argument to signal.Notify. |
sortslice | Package sortslice defines an Analyzer that checks for calls to sort.Slice that do not use a slice type as first argument. |
stdmethods | Package stdmethods defines an Analyzer that checks for misspellings in the signatures of methods similar to well-known interfaces. |
stringintconv | Package stringintconv defines an Analyzer that flags type conversions from integers to strings. |
cmd | |
stringintconv | The stringintconv command runs the stringintconv analyzer. |
structtag | Package structtag defines an Analyzer that checks struct field tags are well formed. |
testinggoroutine | |
tests | Package tests defines an Analyzer that checks for common mistaken usages of tests and examples. |
timeformat | Package timeformat defines an Analyzer that checks for the use of time.Format or time.Parse calls with a bad format. |
unmarshal | The unmarshal package defines an Analyzer that checks for passing non-pointer or non-interface types to unmarshal and decode functions. |
cmd | |
unmarshal | The unmarshal command runs the unmarshal analyzer. |
unreachable | Package unreachable defines an Analyzer that checks for unreachable code. |
unsafeptr | Package unsafeptr defines an Analyzer that checks for invalid conversions of uintptr to unsafe.Pointer. |
unusedresult | Package unusedresult defines an analyzer that checks for unused results of calls to certain pure functions. |
unusedwrite | Package unusedwrite checks for unused writes to the elements of a struct or array object. |
usesgenerics | Package usesgenerics defines an Analyzer that checks for usage of generic features added in Go 1.18. |
singlechecker | Package singlechecker defines the main function for an analysis driver with only a single analysis. |
unitchecker | The unitchecker package defines the main function for an analysis driver that analyzes a single compilation unit during a build. |
ast | |
astutil | Package astutil contains common utilities for working with the Go AST. |
inspector | Package inspector provides helper functions for traversal over the syntax trees of a package, including node filtering by type, and materialization of the traversal stack. |
buildutil | Package buildutil provides utilities related to the go/build package in the standard library. |
callgraph | Package callgraph defines the call graph and various algorithms and utilities to operate on it. |
cha | Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm. |
rta | This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types. |
static | Package static computes the call graph of a Go program containing only static call edges. |
vta | Package vta computes the call graph of a Go program using the Variable Type Analysis (VTA) algorithm originally described in “Practical Virtual Method Call Resolution for Java," Vijay Sundaresan, Laurie Hendren, Chrislain Razafimahefa, Raja Vallée-Rai, Patrick Lam, Etienne Gagnon, and Charles Godin. |
cfg | Package cfg constructs a simple control-flow graph (CFG) of the statements and expressions within a single function. |
expect | Package expect provides support for interpreting structured comments in Go source code as test expectations. |
gccgoexportdata | Package gccgoexportdata provides functions for reading export data files containing type information produced by the gccgo compiler. |
gcexportdata | Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler. |
loader | Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies. |
packages | Package packages loads Go packages for inspection and analysis. |
gopackages | The gopackages command is a diagnostic tool that demonstrates how to use golang.org/x/tools/go/packages to load, parse, type-check, and print one or more Go packages. |
packagestest | Package packagestest creates temporary projects on disk for testing go tools on. |
pointer | Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994). |
ssa | Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions. |
interp | Package ssa/interp defines an interpreter for the SSA representation of Go programs. |
ssautil | |
types | |
objectpath | Package objectpath defines a naming scheme for types.Objects (that is, named entities in Go programs) relative to their enclosing package. |
typeutil | Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values. |
vcs | Package vcs exposes functions for resolving import paths and using version control systems, which can be used to implement behavior similar to the standard "go get" command. |
godoc | Package godoc is a work-in-progress (2013-07-17) package to begin splitting up the godoc binary into multiple pieces. |
analysis | Package analysis performs type and pointer analysis and generates mark-up for the Go source view. |
redirect | Package redirect provides hooks to register HTTP handlers that redirect old godoc paths to their new equivalents. |
static | Package static exports a map of static file content that supports the godoc user interface. |
util | Package util contains utility types and functions for godoc. |
vfs | Package vfs defines types for abstract file system access and provides an implementation accessing the file system of the underlying OS. |
gatefs | Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency. |
httpfs | Package httpfs implements http.FileSystem using a godoc vfs.FileSystem. |
mapfs | Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string. |
zipfs | Package zipfs file provides an implementation of the FileSystem interface based on the contents of a .zip file. |
gopls | Gopls (pronounced “go please”) is an LSP server for Go. |
api-diff | |
doc | Command generate creates API (settings, etc) documentation in JSON and Markdown for machine and human consumption. |
integration | |
govim | |
release | |
imports | Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. |
playground | Package playground registers an HTTP handler at "/compile" that proxies requests to the golang.org playground service. |
socket | Package socket implements an WebSocket-based playground backend. |
present | Package present implements parsing and rendering of present files, which can be slide presentations as in golang.org/x/tools/cmd/present or articles as in golang.org/x/blog (the Go blog). |
refactor | |
eg | Package eg implements the example-based refactoring tool whose command-line is defined in golang.org/x/tools/cmd/eg. |
importgraph | Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace. |
rename | Package rename contains the implementation of the 'gorename' command whose main function is in golang.org/x/tools/cmd/gorename. |
satisfy | Package satisfy inspects the type-checked ASTs of Go packages and reports the set of discovered type constraints of the form (lhs, rhs Type) where lhs is a non-trivial interface, rhs satisfies this interface, and this fact is necessary for the package to be well-typed. |
txtar | Package txtar implements a trivial text-based file archive format. |
These packages are part of the Go Project but outside the main Go tree. They are developed under looser compatibility requirements than the Go core. Install them with "go get".
These services can help you find Open Source packages provided by the community.