-
Notifications
You must be signed in to change notification settings - Fork 15
/
util.go
22 lines (19 loc) · 896 Bytes
/
util.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package main
import (
"fmt"
)
//program build data
func PrintVersion() {
fmt.Print(`
________ ______ __ __ __ __ _____ _______ ______
/ |/ |/ \ / |/ \ / | / |/ \ / \
$$$$$$$$/ $$$$$$/ $$ \ $$ |$$ \ /$$/ $$$$$ |$$$$$$$ |/$$$$$$ |
$$ | $$ | $$$ \$$ | $$ \/$$/ $$ |$$ |__$$ |$$ | _$$/
$$ | $$ | $$$$ $$ | $$ $$/ __ $$ |$$ $$/ $$ |/ |
$$ | $$ | $$ $$ $$ | $$$$/ / | $$ |$$$$$$$/ $$ |$$$$ |
$$ | _$$ |_ $$ |$$$$ | $$ | $$ \__$$ |$$ | $$ \__$$ |
$$ | / $$ |$$ | $$$ | $$ | $$ $$/ $$ | $$ $$/
$$/ $$$$$$/ $$/ $$/ $$/ $$$$$$/ $$/ $$$$$$/
`)
fmt.Printf("Version: %s\nBuild Time: %s\nGit Commit Hash: %s\nDocs: %s\n\n\n", version, build, commit, docs)
}