Mercurial > yakumo_izuru > aya
view version.go @ 73:8533d875a2bb draft
The World (XXI)
* Replace all iterations of log.* with fmt.* and os.Exit()
* Use proper Go versioning
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Tue, 21 Nov 2023 11:44:14 +0000 |
parents | 7819959ac6ca |
children | d8727551f403 |
line wrap: on
line source
// This is used for setting build-time variables package aya 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) }