store and report git info

This commit is contained in:
sm
2018-03-08 16:17:11 -08:00
parent 56bd8445a4
commit bcbbe000f3
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ func main() {
r := hw.V{
Hostname: hn,
V: hw.Version,
G: hw.Git,
}
if err := json.NewEncoder(w).Encode(r); err != nil {
log.Printf("json: %+v", err)