view version.go @ 53:be0a08e4a0f6 draft

Add manual page for zs
author novaburst
date Fri, 07 Jan 2022 23:20:40 +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)
}