source:
main/trunk/version.go@
6bbceb9
Last change on this file since 6bbceb9 was 6bbceb9, checked in by , 8 weeks ago | |
---|---|
|
|
File size: 371 bytes |
Rev | Line | |
---|---|---|
[6bbceb9] | 1 | // $TheSupernovaDuo: yuuka,v 0.1.1 2023/5/29 18:19:14 yakumo_izuru Exp $ |
2 | package main | |
3 | ||
4 | import ( | |
5 | "fmt" | |
6 | ) | |
7 | ||
8 | var ( | |
9 | // Version release version | |
10 | Version = "0.0.1" | |
11 | ||
12 | // Commit will be overwritten automatically by the build system | |
13 | Commit = "HEAD" | |
14 | ) | |
15 | ||
16 | // FullVersion display the full version and build | |
17 | func FullVersion() string { | |
18 | return fmt.Sprintf("%s@%s", Version, Commit) | |
19 | } |
Note:
See TracBrowser
for help on using the repository browser.