view version.go @ 65:6d985efa0f7a draft

Add support for bfchroma syntax highlighting Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author yakumo.izuru
date Mon, 08 May 2023 21:10:36 +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)
}