source: code/trunk/version.go@ 73

Last change on this file since 73 was 72, checked in by Izuru Yakumo, 20 months ago

feat: move the blackfriday extension settings out of the render function, improve documentation

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 346 bytes
RevLine 
[72]1// This is used for setting build-time variables
[56]2package aya
[50]3
4import (
5 "fmt"
6)
7
8var (
9 // Version release version
10 Version = "0.0.1"
11
12 // Commit will be overwritten automatically by the build system
13 Commit = "HEAD"
14)
15
16// FullVersion display the full version and build
17func FullVersion() string {
18 return fmt.Sprintf("%s@%s", Version, Commit)
19}
Note: See TracBrowser for help on using the repository browser.