Mercurial > yakumo_izuru > aya
annotate version.go @ 53:be0a08e4a0f6 draft
Add manual page for zs
author | novaburst |
---|---|
date | Fri, 07 Jan 2022 23:20:40 +0000 |
parents | 88a7d4a1ff62 |
children | c6785950280e |
rev | line source |
---|---|
49 | 1 package main |
2 | |
3 import ( | |
4 "fmt" | |
5 ) | |
6 | |
7 var ( | |
8 // Version release version | |
9 Version = "0.0.1" | |
10 | |
11 // Commit will be overwritten automatically by the build system | |
12 Commit = "HEAD" | |
13 ) | |
14 | |
15 // FullVersion display the full version and build | |
16 func FullVersion() string { | |
17 return fmt.Sprintf("%s@%s", Version, Commit) | |
18 } |