Mercurial > yakumo_izuru > aya
view version.go @ 50:f7ad715c03ce draft
Update .gitignore
author | prologic |
---|---|
date | Fri, 17 Sep 2021 23:45:01 +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) }