comparison version.go @ 89:744541fee713 draft

Ayaya, why did I do that again?
author yakumo.izuru
date Sun, 04 May 2025 02:19:10 +0000
parents 64cd79d367b5
children
comparison
equal deleted inserted replaced
88:01ae2ad18ed1 89:744541fee713
11 Vendor string 11 Vendor string
12 Version string 12 Version string
13 ) 13 )
14 14
15 // PrintVersion only displays the obvious 15 // PrintVersion only displays the obvious
16 func PrintVersion(){ 16 func PrintVersion() string {
17 fmt.Printf("%s", Version) 17 return fmt.Sprintf("%s", Version)
18 } 18 }
19 19
20 // PrintFullVersion display the full version and build 20 // PrintFullVersion display the full version and build
21 func PrintFullVersion() string { 21 func PrintFullVersion() string {
22 return fmt.Sprintf("%s, built at %s, on %s", Version, Date, Vendor) 22 return fmt.Sprintf("%s, built at %s, on %s", Version, Date, Vendor)