source:
Main/trunk/version.go@
4a5f10f
Last change on this file since 4a5f10f was 4a5f10f, checked in by , 8 weeks ago | |
---|---|
|
|
File size: 300 bytes |
Line | |
---|---|
1 | package yukari |
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 | } |
Note:
See TracBrowser
for help on using the repository browser.