diff --git a/collect/resh-collect.go b/collect/resh-collect.go index ae52923..b96cc72 100644 --- a/collect/resh-collect.go +++ b/collect/resh-collect.go @@ -20,7 +20,10 @@ import ( "strings" ) +// Version from git set during build var Version string + +// Revision from git set during build var Revision string func main() { diff --git a/daemon/resh-daemon.go b/daemon/resh-daemon.go index fb1b31a..c8bcb0e 100644 --- a/daemon/resh-daemon.go +++ b/daemon/resh-daemon.go @@ -3,8 +3,6 @@ package main import ( "encoding/json" //"flag" - "github.com/BurntSushi/toml" - common "github.com/curusarn/resh/common" "io/ioutil" "log" "net/http" @@ -14,9 +12,15 @@ import ( "path/filepath" "strconv" "strings" + + "github.com/BurntSushi/toml" + common "github.com/curusarn/resh/common" ) +// Version from git set during build var Version string + +// Revision from git set during build var Revision string func main() {