view version.go @ 60:cf7277e42ece draft

Add serve function, update documentation accordingly Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author yakumo.izuru
date Fri, 21 Apr 2023 23:06:28 +0000
parents c6785950280e
children 7819959ac6ca
line wrap: on
line source

package aya

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)
}