Mercurial > yakumo_izuru > aya
view version.go @ 52:befb74a09424 draft
Code cleanup
author | prologic |
---|---|
date | Thu, 28 Oct 2021 16:10:15 +0000 |
parents | 88a7d4a1ff62 |
children | c6785950280e |
line wrap: on
line source
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) }