Commit 3fb8e362 authored by szh's avatar szh

update

parent 0fb50ea9
......@@ -2,6 +2,13 @@ package app
const version = "0.2.5"
var (
GitCommit string
)
func GetVersion() string {
if GitCommit != "" {
return version+"-"+GitCommit
}
return version
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment