
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/yuuka/trunk@2 10373541-e681-4840-9083-43024fea98c9
20 lines
371 B
Go
20 lines
371 B
Go
// $TheSupernovaDuo: yuuka,v 0.1.1 2023/5/29 18:19:14 yakumo_izuru Exp $
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
var (
|
|
// Version release version
|
|
Version = "0.0.1"
|
|
|
|
// Commit will be overwritten automatically by the build system
|
|
Commit = "HEAD"
|
|
)
|
|
|
|
// FullVersion display the full version and build
|
|
func FullVersion() string {
|
|
return fmt.Sprintf("%s@%s", Version, Commit)
|
|
}
|