From 4b7f063d0b11f6213144e63c583987d170cfdcf5 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Sat, 10 Aug 2019 12:29:41 +0200 Subject: [PATCH] cosmetic changes --- collect/resh-collect.go | 3 +++ daemon/resh-daemon.go | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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() {