Directories ¶
Path | Synopsis |
---|---|
image
|
|
bmp
Package bmp implements a BMP image decoder and encoder.
|
Package bmp implements a BMP image decoder and encoder. |
draw
Package draw provides image composition functions.
|
Package draw provides image composition functions. |
math/f32
Package f32 implements float32 vector and matrix types.
|
Package f32 implements float32 vector and matrix types. |
math/f64
Package f64 implements float64 vector and matrix types.
|
Package f64 implements float64 vector and matrix types. |
math/fixed
Package fixed implements fixed-point integer types.
|
Package fixed implements fixed-point integer types. |
riff
Package riff implements the Resource Interchange File Format, used by media formats such as AVI, WAVE and WEBP.
|
Package riff implements the Resource Interchange File Format, used by media formats such as AVI, WAVE and WEBP. |
tiff
Package tiff implements a TIFF image decoder and encoder.
|
Package tiff implements a TIFF image decoder and encoder. |
tiff/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.
|
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. |
vp8
Package vp8 implements a decoder for the VP8 lossy image format.
|
Package vp8 implements a decoder for the VP8 lossy image format. |
vp8l
Package vp8l implements a decoder for the VP8L lossless image format.
|
Package vp8l implements a decoder for the VP8L lossless image format. |
webp
Package webp implements a decoder for WEBP images.
|
Package webp implements a decoder for WEBP images. |
webp/nycbcra
Package nycbcra provides non-alpha-premultiplied Y'CbCr-with-alpha image and color types.
|
Package nycbcra provides non-alpha-premultiplied Y'CbCr-with-alpha image and color types. |
mobile
|
|
app
Package app lets you write portable all-Go apps for Android and iOS.
|
Package app lets you write portable all-Go apps for Android and iOS. |
app/internal/apptest
Package apptest provides utilities for testing an app.
|
Package apptest provides utilities for testing an app. |
app/internal/testapp
Small test app used by app/app_test.go.
|
Small test app used by app/app_test.go. |
asset
Package asset provides access to application-bundled assets.
|
Package asset provides access to application-bundled assets. |
bind
Package bind implements a code generator for gobind.
|
Package bind implements a code generator for gobind. |
bind/java
Package java implements the Java language bindings.
|
Package java implements the Java language bindings. |
bind/java/testpkg
Package testpkg contains bound functions for testing the cgo-JNI interface.
|
Package testpkg contains bound functions for testing the cgo-JNI interface. |
bind/objc
Package objc implements the Objective-C language bindings.
|
Package objc implements the Objective-C language bindings. |
bind/objc/testpkg/go_testpkg
Package go_testpkg is an autogenerated binder stub for package testpkg.
|
Package go_testpkg is an autogenerated binder stub for package testpkg. |
bind/seq
Package seq implements the machine-dependent seq serialization format.
|
Package seq implements the machine-dependent seq serialization format. |
cmd/gobind
Gobind generates language bindings that make it possible to call Go functions from Java and Objective-C.
|
Gobind generates language bindings that make it possible to call Go functions from Java and Objective-C. |
cmd/gomobile
Gomobile is a tool for building and running mobile apps written in Go.
|
Gomobile is a tool for building and running mobile apps written in Go. |
event/key
Package key defines an event for physical keyboard keys.
|
Package key defines an event for physical keyboard keys. |
event/lifecycle
Package lifecycle defines an event for an app's lifecycle.
|
Package lifecycle defines an event for an app's lifecycle. |
event/mouse
Package mouse defines an event for mouse input.
|
Package mouse defines an event for mouse input. |
event/paint
Package paint defines an event for the app being ready to paint.
|
Package paint defines an event for the app being ready to paint. |
event/size
Package size defines an event for the dimensions, physical resolution and orientation of the app's window.
|
Package size defines an event for the dimensions, physical resolution and orientation of the app's window. |
event/touch
Package touch defines an event for touch input.
|
Package touch defines an event for touch input. |
example/audio
An app that makes a sound as the gopher hits the walls of the screen.
|
An app that makes a sound as the gopher hits the walls of the screen. |
example/basic
An app that draws a green triangle on a red background.
|
An app that draws a green triangle on a red background. |
example/bind/hello
Package hello is a trivial package for gomobile bind example.
|
Package hello is a trivial package for gomobile bind example. |
example/flappy
Flappy Gopher is a simple one-button game that uses the mobile framework and the experimental sprite engine.
|
Flappy Gopher is a simple one-button game that uses the mobile framework and the experimental sprite engine. |
example/network
An app that paints green if golang.org is reachable when the app first starts, or red otherwise.
|
An app that paints green if golang.org is reachable when the app first starts, or red otherwise. |
exp/app/debug
Package debug provides GL-based debugging tools for apps.
|
Package debug provides GL-based debugging tools for apps. |
exp/audio
Package audio provides a basic audio player.
|
Package audio provides a basic audio player. |
exp/audio/al
Package al provides OpenAL Soft bindings for Go.
|
Package al provides OpenAL Soft bindings for Go. |
exp/f32
Package f32 implements some linear algebra and GL helpers for float32s.
|
Package f32 implements some linear algebra and GL helpers for float32s. |
exp/font
Package font provides platform independent access to system fonts.
|
Package font provides platform independent access to system fonts. |
exp/gl/glutil
Package glutil implements OpenGL utility functions.
|
Package glutil implements OpenGL utility functions. |
exp/sensor
Package sensor provides sensor events from various movement sensors.
|
Package sensor provides sensor events from various movement sensors. |
exp/sprite
Package sprite provides a 2D scene graph for rendering and animation.
|
Package sprite provides a 2D scene graph for rendering and animation. |
exp/sprite/clock
Package clock provides a clock and time functions for a sprite engine.
|
Package clock provides a clock and time functions for a sprite engine. |
exp/sprite/glsprite
Package glsprite implements a sprite Engine using OpenGL ES 2.
|
Package glsprite implements a sprite Engine using OpenGL ES 2. |
exp/sprite/portable
Package portable implements a sprite Engine using the image package.
|
Package portable implements a sprite Engine using the image package. |
geom
Package geom defines a two-dimensional coordinate system.
|
Package geom defines a two-dimensional coordinate system. |
gl
Package gl implements Go bindings for OpenGL ES 2.
|
Package gl implements Go bindings for OpenGL ES 2. |
internal/binres
Package binres implements encoding and decoding of android binary resources.
|
Package binres implements encoding and decoding of android binary resources. |
internal/mobileinit
Package mobileinit contains common initialization logic for mobile platforms that is relevant to both all-Go apps and gobind-based apps.
|
Package mobileinit contains common initialization logic for mobile platforms that is relevant to both all-Go apps and gobind-based apps. |
net
|
|
context
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
|
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes. |
dict
Package dict implements the Dictionary Server Protocol as defined in RFC 2229.
|
Package dict implements the Dictionary Server Protocol as defined in RFC 2229. |
html
Package html implements an HTML5-compliant tokenizer and parser.
|
Package html implements an HTML5-compliant tokenizer and parser. |
html/atom
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
|
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id". |
html/charset
Package charset provides common text encodings for HTML documents.
|
Package charset provides common text encodings for HTML documents. |
icmp
Package icmp provides basic functions for the manipulation of messages used in the Internet Control Message Protocols, ICMPv4 and ICMPv6.
|
Package icmp provides basic functions for the manipulation of messages used in the Internet Control Message Protocols, ICMPv4 and ICMPv6. |
idna
Package idna implements IDNA2008 (Internationalized Domain Names for Applications), defined in RFC 5890, RFC 5891, RFC 5892, RFC 5893 and RFC 5894.
|
Package idna implements IDNA2008 (Internationalized Domain Names for Applications), defined in RFC 5890, RFC 5891, RFC 5892, RFC 5893 and RFC 5894. |
internal/iana
Package iana provides protocol number resources managed by the Internet Assigned Numbers Authority (IANA).
|
Package iana provides protocol number resources managed by the Internet Assigned Numbers Authority (IANA). |
internal/nettest
Package nettest provides utilities for IP testing.
|
Package nettest provides utilities for IP testing. |
internal/timeseries
Package timeseries implements a time series structure for stats collection.
|
Package timeseries implements a time series structure for stats collection. |
ipv4
Package ipv4 implements IP-level socket options for the Internet Protocol version 4.
|
Package ipv4 implements IP-level socket options for the Internet Protocol version 4. |
ipv6
Package ipv6 implements IP-level socket options for the Internet Protocol version 6.
|
Package ipv6 implements IP-level socket options for the Internet Protocol version 6. |
netutil
Package netutil provides network utility functions, complementing the more common ones in the net package.
|
Package netutil provides network utility functions, complementing the more common ones in the net package. |
proxy
Package proxy provides support for a variety of protocols to proxy network data.
|
Package proxy provides support for a variety of protocols to proxy network data. |
publicsuffix
Package publicsuffix provides a public suffix list based on data from http://publicsuffix.org/.
|
Package publicsuffix provides a public suffix list based on data from http://publicsuffix.org/. |
trace
Package trace implements tracing of requests.
|
Package trace implements tracing of requests. |
webdav
Package webdav etc etc TODO.
|
Package webdav etc etc TODO. |
websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
|
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455. |
sys
|
|
unix
Package unix contains an interface to the low-level operating system primitives.
|
Package unix contains an interface to the low-level operating system primitives. |
windows/registry
Package registry provides access to the Windows registry.
|
Package registry provides access to the Windows registry. |
windows/svc
Package svc provides everything required to build Windows service.
|
Package svc provides everything required to build Windows service. |
windows/svc/debug
Package debug provides facilities to execute svc.Handler on console.
|
Package debug provides facilities to execute svc.Handler on console. |
windows/svc/eventlog
Package eventlog implements access to Windows event log.
|
Package eventlog implements access to Windows event log. |
windows/svc/example
Example service program that beeps.
|
Example service program that beeps. |
windows/svc/mgr
Package mgr can be used to manage Windows service programs.
|
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'.
|
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.
|
Package blog implements a web server for articles written in present format. |
blog/atom
Package atom defines XML data structures for an Atom feed.
|
Package atom defines XML data structures for an Atom feed. |
cmd/benchcmp
The benchcmp command displays performance changes between benchmarks.
|
The benchcmp command displays performance changes between benchmarks. |
cmd/callgraph
callgraph: a tool for reporting the call graph of a Go program.
|
callgraph: a tool for reporting the call graph of a Go program. |
cmd/cover
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
|
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'. |
cmd/digraph
The digraph command performs queries over unlabelled directed graphs represented in text form.
|
The digraph command performs queries over unlabelled directed graphs represented in text form. |
cmd/eg
The eg command performs example-based refactoring.
|
The eg command performs example-based refactoring. |
cmd/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.
|
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. |
cmd/godex
The godex command prints (dumps) exported information of packages or selected package objects.
|
The godex command prints (dumps) exported information of packages or selected package objects. |
cmd/godoc
Godoc extracts and generates documentation for Go programs.
|
Godoc extracts and generates documentation for Go programs. |
cmd/goimports
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
|
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones. |
cmd/gomvpkg
The gomvpkg command moves go packages, updating import declarations.
|
The gomvpkg command moves go packages, updating import declarations. |
cmd/gorename
The gorename command performs precise type-safe renaming of identifiers in Go source code.
|
The gorename command performs precise type-safe renaming of identifiers in Go source code. |
cmd/gotype
The gotype command does syntactic and semantic analysis of Go files and packages like the front-end of a Go compiler.
|
The gotype command does syntactic and semantic analysis of Go files and packages like the front-end of a Go compiler. |
cmd/html2article
This program takes an HTML file and outputs a corresponding article file in present format.
|
This program takes an HTML file and outputs a corresponding article file in present format. |
cmd/oracle
oracle: a tool for answering questions about Go source code.
|
oracle: a tool for answering questions about Go source code. |
cmd/present
Present displays slide presentations and articles.
|
Present displays slide presentations and articles. |
cmd/ssadump
ssadump: a tool for displaying and interpreting the SSA form of Go programs.
|
ssadump: a tool for displaying and interpreting the SSA form of Go programs. |
cmd/stress
The stress utility is intended for catching of episodic failures.
|
The stress utility is intended for catching of episodic failures. |
cmd/stringer
Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface.
|
Stringer is a tool to automate the creation of methods that satisfy the fmt.Stringer interface. |
cmd/tipgodoc
Command tipgodoc is the beginning of the new tip.golang.org server, serving the latest HEAD straight from the Git oven.
|
Command tipgodoc is the beginning of the new tip.golang.org server, serving the latest HEAD straight from the Git oven. |
cmd/vet
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
|
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
cmd/vet/whitelist
Package whitelist defines exceptions for the vet tool.
|
Package whitelist defines exceptions for the vet tool. |
container/intsets
Package intsets provides Sparse, a compact and fast representation for sparse sets of int values.
|
Package intsets provides Sparse, a compact and fast representation for sparse sets of int values. |
cover
Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out".
|
Package cover provides support for parsing coverage profiles generated by "go test -coverprofile=cover.out". |
go/ast/astutil
Package astutil contains common utilities for working with the Go AST.
|
Package astutil contains common utilities for working with the Go AST. |
go/buildutil
Package buildutil provides utilities related to the go/build package in the standard library.
|
Package buildutil provides utilities related to the go/build package in the standard library. |
go/callgraph
Package callgraph defines the call graph and various algorithms and utilities to operate on it.
|
Package callgraph defines the call graph and various algorithms and utilities to operate on it. |
go/callgraph/cha
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm.
|
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm. |
go/callgraph/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.
|
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. |
go/callgraph/static
Package static computes the call graph of a Go program containing only static call edges.
|
Package static computes the call graph of a Go program containing only static call edges. |
go/exact
Package exact implements Values representing untyped Go constants and the corresponding operations.
|
Package exact implements Values representing untyped Go constants and the corresponding operations. |
go/gccgoimporter
Package gccgoimporter implements Import for gccgo-generated object files.
|
Package gccgoimporter implements Import for gccgo-generated object files. |
go/gcimporter
Package gcimporter implements Import for gc-generated object files.
|
Package gcimporter implements Import for gc-generated object files. |
go/importer
package importer implements an exporter and importer for Go export data.
|
package importer implements an exporter and importer for Go export data. |
go/loader
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
|
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies. |
go/pointer
Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994).
|
Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994). |
go/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.
|
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. |
go/ssa/interp
Package ssa/interp defines an interpreter for the SSA representation of Go programs.
|
Package ssa/interp defines an interpreter for the SSA representation of Go programs. |
go/types
Package types declares the data types and implements the algorithms for type-checking of Go packages.
|
Package types declares the data types and implements the algorithms for type-checking of Go packages. |
go/types/typeutil
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
|
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values. |
godoc
Package godoc is a work-in-progress (2013-07-17) package to begin splitting up the godoc binary into multiple pieces.
|
Package godoc is a work-in-progress (2013-07-17) package to begin splitting up the godoc binary into multiple pieces. |
godoc/analysis
Package analysis performs type and pointer analysis and generates mark-up for the Go source view.
|
Package analysis performs type and pointer analysis and generates mark-up for the Go source view. |
godoc/redirect
Package redirect provides hooks to register HTTP handlers that redirect old godoc paths to their new equivalents and assist in accessing the issue tracker, wiki, code review system, etc.
|
Package redirect provides hooks to register HTTP handlers that redirect old godoc paths to their new equivalents and assist in accessing the issue tracker, wiki, code review system, etc. |
godoc/static
Package static exports a map of static file content that supports the godoc user interface.
|
Package static exports a map of static file content that supports the godoc user interface. |
godoc/util
Package util contains utility types and functions for godoc.
|
Package util contains utility types and functions for godoc. |
godoc/vfs
Package vfs defines types for abstract file system access and provides an implementation accessing the file system of the underlying OS.
|
Package vfs defines types for abstract file system access and provides an implementation accessing the file system of the underlying OS. |
godoc/vfs/gatefs
Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency.
|
Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency. |
godoc/vfs/httpfs
Package httpfs implements http.FileSystem using a godoc vfs.FileSystem.
|
Package httpfs implements http.FileSystem using a godoc vfs.FileSystem. |
godoc/vfs/mapfs
Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string.
|
Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string. |
godoc/vfs/zipfs
Package zipfs file provides an implementation of the FileSystem interface based on the contents of a .zip file.
|
Package zipfs file provides an implementation of the FileSystem interface based on the contents of a .zip file. |
imports
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
|
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. |
oracle
Package oracle contains the implementation of the oracle tool whose command-line is provided by golang.org/x/tools/cmd/oracle.
|
Package oracle contains the implementation of the oracle tool whose command-line is provided by golang.org/x/tools/cmd/oracle. |
oracle/serial
Package serial defines the oracle's schema for structured data serialization using JSON, XML, etc.
|
Package serial defines the oracle's schema for structured data serialization using JSON, XML, etc. |
playground
Package playground registers HTTP handlers at "/compile" and "/share" that proxy requests to the golang.org playground service.
|
Package playground registers HTTP handlers at "/compile" and "/share" that proxy requests to the golang.org playground service. |
playground/socket
Package socket implements an WebSocket-based playground backend.
|
Package socket implements an WebSocket-based playground backend. |
present
The present file format
|
The present file format |
refactor/eg
Package eg implements the example-based refactoring tool whose command-line is defined in golang.org/x/tools/cmd/eg.
|
Package eg implements the example-based refactoring tool whose command-line is defined in golang.org/x/tools/cmd/eg. |
refactor/importgraph
Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace.
|
Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace. |
refactor/lexical
Package lexical computes the structure of the lexical environment, including the definition of and references to all universal, package-level, file-level and function-local entities.
|
Package lexical computes the structure of the lexical environment, including the definition of and references to all universal, package-level, file-level and function-local entities. |
refactor/rename
Package rename contains the implementation of the 'gorename' command whose main function is in golang.org/x/tools/cmd/gorename.
|
Package rename contains the implementation of the 'gorename' command whose main function is in golang.org/x/tools/cmd/gorename. |
refactor/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.
|
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. |
Click to show internal directories.
Click to hide internal directories.