mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Remove SetupVersionBuild
This commit is contained in:
parent
ef8892ad01
commit
78704dc55a
2 changed files with 0 additions and 14 deletions
|
|
@ -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.",
|
||||
|
|
|
|||
13
version.go
13
version.go
|
|
@ -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"
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue