mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-28 09:41:02 +00:00
7e6c4b2dc7
Co-authored-by: James Mills <prologic@shortcircuit.net.au> Reviewed-on: https://git.mills.io/prologic/salty-chat/pulls/4
19 lines
301 B
Go
19 lines
301 B
Go
package saltyim
|
|
|
|
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)
|
|
}
|