Remove SetupVersionBuild

This commit is contained in:
Alan Bernstein 2017-04-21 14:55:07 -05:00
parent ef8892ad01
commit 78704dc55a
2 changed files with 0 additions and 14 deletions

View file

@ -16,7 +16,6 @@ import (
var subcommandFns = map[string]func(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command{}
func NewRootCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
// pilosa.SetupVersionBuild() // want to remove - see version.go
rc := &cobra.Command{
Use: "pilosa",
Short: "Pilosa - A Distributed In-memory Binary Bitmap Index.",

View file

@ -2,16 +2,3 @@ package pilosa
var Version = "v0.0.0"
var BuildTime = "not recorded"
// ldflags works without this - removing it allows TestHandler_Version to work simply
func SetupVersionBuild() {
/*
if Version == "" {
Version = "v0.0.0"
}
if BuildTime == "" {
BuildTime = "not recorded"
}
*/
}