Consolidate version location

This commit is contained in:
sm
2018-03-08 14:48:25 -08:00
parent eee330aea5
commit a4987f4f42
4 changed files with 7 additions and 9 deletions
+3 -3
View File
@@ -3,13 +3,13 @@ package main
import (
"log"
"time"
)
const version = "v0.1.1"
"mcquay.me/hw"
)
func main() {
for {
log.Printf("hwl@%+v", version)
log.Printf("hwl@%+v", hw.Version)
time.Sleep(1 * time.Second)
}
}