Last change
on this file since 70 was 56, checked in by Izuru Yakumo, 2 years ago |
The fastest, period.
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
297 bytes
|
Rev | Line | |
---|
[56] | 1 | package aya
|
---|
[50] | 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.