Documentation ¶
Overview ¶
Package buildinfo provides information about the current build.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GitInfo string
GitInfo is either the empty string (the default) or is set to the git hash of the most recent commit using the -X linker flag. For example, it's set like: $ go install --ldflags="-X camlistore.org/pkg/buildinfo.GitInfo "`./misc/gitversion` camlistore.org/server/camlistored
Functions ¶
func TestingLinked ¶
func TestingLinked() bool
TestingLinked reports whether the "testing" package is linked into the binary. It always returns false for Go 1.1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.