Directories
¶
Path | Synopsis |
---|---|
Command blog is a web server for the Go blog that can run on App Engine or as a stand-alone HTTP server.
|
Command blog is a web server for the Go blog that can run on App Engine or as a stand-alone HTTP server. |
content/context/google
Package google provides a function to do Google searches using the Google Web Search API.
|
Package google provides a function to do Google searches using the Google Web Search API. |
content/context/server
command
The server program issues Google search requests and demonstrates the use of the go.net Context API.
|
The server program issues Google search requests and demonstrates the use of the go.net Context API. |
content/context/userip
Package userip provides functions for extracting a user IP address from a request and associating it with a Context.
|
Package userip provides functions for extracting a user IP address from a request and associating it with a Context. |
support/racy
command
This program demonstrates a race condition.
|
This program demonstrates a race condition. |
exp
|
|
ebnf
Package ebnf is a library for EBNF grammars.
|
Package ebnf is a library for EBNF grammars. |
ebnflint
command
Ebnflint verifies that EBNF productions are consistent and grammatically correct.
|
Ebnflint verifies that EBNF productions are consistent and grammatically correct. |
fsnotify
Package fsnotify implements file system notification.
|
Package fsnotify implements file system notification. |
inotify
Package inotify implements a wrapper for the Linux inotify system.
|
Package inotify implements a wrapper for the Linux inotify system. |
locale/search
Package search provides language-sensitive string search functionality.
|
Package search provides language-sensitive string search functionality. |
mmap
Package mmap provides a way to memory-map a file.
|
Package mmap provides a way to memory-map a file. |
old/netchan
Package netchan implements type-safe networked channels: it allows the two ends of a channel to appear on different computers connected by a network.
|
Package netchan implements type-safe networked channels: it allows the two ends of a channel to appear on different computers connected by a network. |
shiny/driver
Package driver provides the default driver for accessing a screen.
|
Package driver provides the default driver for accessing a screen. |
shiny/driver/gldriver
Package gldriver provides an OpenGL driver for accessing a screen.
|
Package gldriver provides an OpenGL driver for accessing a screen. |
shiny/driver/internal/errscreen
Package errscreen provides a stub Screen implementation.
|
Package errscreen provides a stub Screen implementation. |
shiny/driver/internal/pump
Package pump provides an infinitely buffered event channel.
|
Package pump provides an infinitely buffered event channel. |
shiny/driver/internal/swizzle
Package swizzle provides functions for converting between RGBA pixel formats.
|
Package swizzle provides functions for converting between RGBA pixel formats. |
shiny/driver/internal/x11key
x11key contains X11 numeric codes for the keyboard and mouse.
|
x11key contains X11 numeric codes for the keyboard and mouse. |
shiny/driver/windriver
Package windriver provides the Windows driver for accessing a screen.
|
Package windriver provides the Windows driver for accessing a screen. |
shiny/driver/x11driver
Package x11driver provides the X11 driver for accessing a screen.
|
Package x11driver provides the X11 driver for accessing a screen. |
shiny/font
Package font defines an interface for font faces, for drawing text on an image.
|
Package font defines an interface for font faces, for drawing text on an image. |
shiny/font/plan9font
Package plan9font implements font faces for the Plan 9 font and subfont file formats.
|
Package plan9font implements font faces for the Plan 9 font and subfont file formats. |
shiny/screen
Package screen provides interfaces for portable two-dimensional graphics and input events.
|
Package screen provides interfaces for portable two-dimensional graphics and input events. |
shootout
command
|
|
utf8string
Package utf8string provides an efficient way to index strings by rune rather than by byte.
|
Package utf8string provides an efficient way to index strings by rune rather than by byte. |
winfsnotify
Package winfsnotify allows the user to receive file system event notifications on Windows.
|
Package winfsnotify allows the user to receive file system event notifications on Windows. |
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/debug
Package debug provides GL-based debugging tools for apps.
|
Package debug provides GL-based debugging tools for apps. |
app/internal/apptest
Package apptest provides utilities for testing an app.
|
Package apptest provides utilities for testing an app. |
app/internal/testapp
command
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/java/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/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
command
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
command
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
Package event defines user input events.
|
Package event defines user input events. |
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
command
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
command
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/libhello
command
This is the Go entry point for the libhello app.
|
This is the Go entry point for the libhello app. |
example/libhello/hi
Package hi provides a function for saying hello.
|
Package hi provides a function for saying hello. |
example/libhello/hi/go_hi
Package go_hi is an autogenerated binder stub for package hi.
|
Package go_hi is an autogenerated binder stub for package hi. |
example/libhellojni
command
This example program compiles to a gojni.so shared library, that can be loaded from an android application.
|
This example program compiles to a gojni.so shared library, that can be loaded from an android application. |
example/network
command
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. |
example/sprite
command
An app that demonstrates the sprite package.
|
An app that demonstrates the sprite package. |
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. |
f32
Package f32 implements some linear algebra and GL helpers for float32s.
|
Package f32 implements some linear algebra and GL helpers for float32s. |
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. |
gl/glutil
Package glutil implements OpenGL utility functions.
|
Package glutil implements OpenGL utility functions. |
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. |
sprite
Package sprite provides a 2D scene graph for rendering and animation.
|
Package sprite provides a 2D scene graph for rendering and animation. |
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. |
sprite/glsprite
Package glsprite implements a sprite Engine using OpenGL ES 2.
|
Package glsprite implements a sprite Engine using OpenGL ES 2. |
sprite/portable
Package portable implements a sprite Engine using the image package.
|
Package portable implements a sprite Engine using the image package. |
review
|
|
git-codereview
command
Git-codereview manages the code review process for Git changes using a Gerrit server.
|
Git-codereview manages the code review process for Git changes using a Gerrit server. |
git-review
command
Command git-review provides a simple command-line user interface for working with git repositories and the Gerrit code review system.
|
Command git-review provides a simple command-line user interface for working with git repositories and the Gerrit code review system. |
talks
|
|
2014/go4java/runner
Package runner provides a Runner type that is used to define both RunCounter and EmbeddedRunCounter to show examples of how to use composition in Go.
|
Package runner provides a Runner type that is used to define both RunCounter and EmbeddedRunCounter to show examples of how to use composition in Go. |
2014/organizeio
command
|
|
2014/research2
command
|
|
2014/taste
command
|
|
2015/gotham-grpc/backend
command
Tha backend command runs a Google server that returns fake results.
|
Tha backend command runs a Google server that returns fake results. |
2015/gotham-grpc/client
command
The client command issues RPCs to a Google server and prints the results.
|
The client command issues RPCs to a Google server and prints the results. |
2015/gotham-grpc/frontend
command
The frontend command runs a Google server that combines results from multiple backends.
|
The frontend command runs a Google server that combines results from multiple backends. |
2015/gotham-grpc/search
Package search is a generated protocol buffer package.
|
Package search is a generated protocol buffer package. |
2015/gotham-grpc/search-only
Package search_only is a generated protocol buffer package.
|
Package search_only is a generated protocol buffer package. |
2015/keeping-up
command
|
|
2015/simplicity-is-complicated
command
|
|
tools
|
|
astutil
Package astutil contains common utilities for working with the Go AST.
|
Package astutil contains common utilities for working with the Go AST. |
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
command
The benchcmp command displays performance changes between benchmarks.
|
The benchcmp command displays performance changes between benchmarks. |
cmd/bundle
command
The bundle command concatenates the source files of a package, renaming package-level names by adding a prefix and renaming identifiers as needed to preserve referential integrity.
|
The bundle command concatenates the source files of a package, renaming package-level names by adding a prefix and renaming identifiers as needed to preserve referential integrity. |
cmd/callgraph
command
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
command
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
command
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
command
The eg command performs example-based refactoring.
|
The eg command performs example-based refactoring. |
cmd/fiximports
command
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
command
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
command
Godoc extracts and generates documentation for Go programs.
|
Godoc extracts and generates documentation for Go programs. |
cmd/goimports
command
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
command
The gomvpkg command moves go packages, updating import declarations.
|
The gomvpkg command moves go packages, updating import declarations. |
cmd/gorename
command
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
command
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
command
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
command
oracle: a tool for answering questions about Go source code.
|
oracle: a tool for answering questions about Go source code. |
cmd/present
command
Present displays slide presentations and articles.
|
Present displays slide presentations and articles. |
cmd/ssadump
command
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
command
The stress utility is intended for catching of episodic failures.
|
The stress utility is intended for catching of episodic failures. |
cmd/stringer
command
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/tip
command
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
command
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". |
dashboard/builder
command
Go Builder is a continuous build client for the Go project.
|
Go Builder is a continuous build client for the Go project. |
dashboard/coordinator
command
The coordinator runs on GCE and coordinates builds in Docker containers.
|
The coordinator runs on GCE and coordinates builds in Docker containers. |
dashboard/updater
command
|
|
dashboard/watcher
command
Command watcher watches the specified repository for new commits and reports them to the build dashboard.
|
Command watcher watches the specified repository for new commits and reports them to the build dashboard. |
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.