blob: 3db0b9f0ea699b03e8f3f25a6ca8137ccf0008ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package flags
import "fmt"
// Version is the current application version.
const Version = "v0.0.1"
const asciiBannerTemplate = ` ___ _____ ___ _ _
|_ _| / / _ \ | _ (_)___| |_
| | / / (_) | | / / _ \ _|
|___/_/ \___/ |_|_\_\___/\__| NG
%s`
// PrintVersion prints the banner with the current version.
func PrintVersion() {
fmt.Printf(asciiBannerTemplate+"\n", Version)
}
|