move Version and Commit to core

This commit is contained in:
nytpu
2021-04-19 10:16:20 -06:00
parent ffe7a37c66
commit fd2667cb9f
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func main() {
os.Exit(0)
}
if os.Args[1] == "version" {
fmt.Printf("comitium v%v, commit %v\n", Version, Commit)
fmt.Printf("comitium v%v, commit %v\n", core.Version, core.Commit)
os.Exit(0)
}