Mercurial > yakumo_izuru > aya
annotate version.go @ 71:7819959ac6ca draft
feat: move the blackfriday extension settings out of the render function, improve documentation
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Tue, 03 Oct 2023 02:39:08 +0000 |
parents | c6785950280e |
children | d8727551f403 |
rev | line source |
---|---|
71
7819959ac6ca
feat: move the blackfriday extension settings out of the render function, improve documentation
yakumo.izuru
parents:
55
diff
changeset
|
1 // This is used for setting build-time variables |
55 | 2 package aya |
49 | 3 |
4 import ( | |
5 "fmt" | |
6 ) | |
7 | |
8 var ( | |
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 | |
17 func FullVersion() string { | |
18 return fmt.Sprintf("%s@%s", Version, Commit) | |
19 } |