source:
main/branches/origin-master/version.go
Last change on this file was 6bbceb9, checked in by , 8 weeks ago | |
---|---|
|
|
File size: 371 bytes |
Line | |
---|---|
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.