view version.go @ 61:e8f54da51137 draft

Be more verbose with servePubDir(), add an additional markdown file extension, granted it's rare for someone to use it... Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author yakumo.izuru
date Wed, 26 Apr 2023 12:40:20 +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)
}