Directories ¶
Path | Synopsis |
---|---|
demo
|
|
gosrc
|
|
cmd/cgo
Cgo enables the creation of Go packages that call C code.
|
Cgo enables the creation of Go packages that call C code. |
cmd/compile
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
|
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line. |
cmd/go
Go is a tool for managing Go source code.
|
Go is a tool for managing Go source code. |
cmd/go/internal/auth
Package auth provides access to user-provided authentication credentials.
|
Package auth provides access to user-provided authentication credentials. |
cmd/go/internal/base
Package base defines shared basic pieces of the go command, in particular logging and the Command structure.
|
Package base defines shared basic pieces of the go command, in particular logging and the Command structure. |
cmd/go/internal/cache
Package cache implements a build artifact cache.
|
Package cache implements a build artifact cache. |
cmd/go/internal/cfg
Package cfg holds configuration shared by multiple parts of the go command.
|
Package cfg holds configuration shared by multiple parts of the go command. |
cmd/go/internal/cmdflag
Package cmdflag handles flag processing common to several go tools.
|
Package cmdflag handles flag processing common to several go tools. |
cmd/go/internal/generate
Package generate implements the “go generate” command.
|
Package generate implements the “go generate” command. |
cmd/go/internal/get
Package get implements the “go get” command.
|
Package get implements the “go get” command. |
cmd/go/internal/load
Package load loads packages.
|
Package load loads packages. |
cmd/go/internal/lockedfile
Package lockedfile creates and manipulates files whose contents should only change atomically.
|
Package lockedfile creates and manipulates files whose contents should only change atomically. |
cmd/go/internal/lockedfile/internal/filelock
Package filelock provides a platform-independent API for advisory file locking.
|
Package filelock provides a platform-independent API for advisory file locking. |
cmd/go/internal/modcmd
Package modcmd implements the “go mod” command.
|
Package modcmd implements the “go mod” command. |
cmd/go/internal/modfetch/codehost
Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations.
|
Package codehost defines the interface implemented by a code hosting source, along with support code for use by implementations. |
cmd/go/internal/modget
Package modget implements the module-aware “go get” command.
|
Package modget implements the module-aware “go get” command. |
cmd/go/internal/mvs
Package mvs implements Minimal Version Selection.
|
Package mvs implements Minimal Version Selection. |
cmd/go/internal/par
Package par implements parallel execution helpers.
|
Package par implements parallel execution helpers. |
cmd/go/internal/renameio
Package renameio writes files atomically by renaming temporary files.
|
Package renameio writes files atomically by renaming temporary files. |
cmd/go/internal/robustio
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
|
Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout. |
cmd/go/internal/run
Package run implements the “go run” command.
|
Package run implements the “go run” command. |
cmd/go/internal/str
Package str provides string manipulation utilities.
|
Package str provides string manipulation utilities. |
cmd/go/internal/tool
Package tool implements the “go tool” command.
|
Package tool implements the “go tool” command. |
cmd/go/internal/vet
Package vet implements the “go vet” command.
|
Package vet implements the “go vet” command. |
cmd/go/internal/web
Package web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package.
|
Package web defines minimal helper routines for accessing HTTP/HTTPS resources without requiring external dependencies on the net package. |
context
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
|
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
errors
Package errors implements functions to manipulate errors.
|
Package errors implements functions to manipulate errors. |
internal/cpu
Package cpu implements processor feature detection used by the Go standard library.
|
Package cpu implements processor feature detection used by the Go standard library. |
os/signal
Package signal implements access to incoming signals.
|
Package signal implements access to incoming signals. |
plugin
Package plugin implements loading and symbol resolution of Go plugins.
|
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.
|
Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types. |
runtime
Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
|
Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. |
runtime/cgo
Package cgo contains runtime support for code generated by the cgo tool.
|
Package cgo contains runtime support for code generated by the cgo tool. |
runtime/debug
Package debug contains facilities for programs to debug themselves while they are running.
|
Package debug contains facilities for programs to debug themselves while they are running. |
runtime/internal/sys
package sys contains system- and configuration- and architecture-specific constants used by the runtime.
|
package sys contains system- and configuration- and architecture-specific constants used by the runtime. |
runtime/metrics
Package metrics provides a stable interface to access implementation-defined metrics exported by the Go runtime.
|
Package metrics provides a stable interface to access implementation-defined metrics exported by the Go runtime. |
runtime/race
Package race implements data race detection logic.
|
Package race implements data race detection logic. |
sync
Package sync provides basic synchronization primitives such as mutual exclusion locks.
|
Package sync provides basic synchronization primitives such as mutual exclusion locks. |
sync/atomic
Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms.
|
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.
|
Package syscall contains an interface to the low-level operating system primitives. |
syscall/js
Package js gives access to the WebAssembly host environment when using the js/wasm architecture.
|
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.
|
Package testing provides support for automated testing of Go packages. |
time
Package time provides functionality for measuring and displaying time.
|
Package time provides functionality for measuring and displaying time. |
unsafe
Package unsafe contains operations that step around the type safety of Go programs.
|
Package unsafe contains operations that step around the type safety of Go programs. |
Click to show internal directories.
Click to hide internal directories.