buildinfo

package
v0.0.0-...-124f4b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2014 License: Apache-2.0 Imports: 0 Imported by: 0

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 Version

func Version() string

Version returns the git version of this binary. If the linker flags were not provided, the return value is "unknown".

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL