saltyim is the Go library and reference client and broker implementation for Salty IM it contains a command-line client (cli), a terminal user interface (tui), builtin server/broker and a Mobile / Desktop App PWA (progressive web app)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
547 B

package saltyim
import (
var (
// Version release version
Version = "0.0.0"
// Commit will be overwritten automatically by the build system
Commit = "HEAD"
// FullVersion display the full version and build
func FullVersion() string {
if Version != "0.0.0" && Commit != "HEAD" {
return fmt.Sprintf("%s@%s", Version, Commit)
info, ok := debug.ReadBuildInfo()
if !ok {
return "unknown"
return fmt.Sprintf(
"%s built with %s (checksum: %s)",
info.Main.Version, info.GoVersion, info.Main.Sum,