comparison version.go @ 85:64cd79d367b5 draft

とにかく、「aya.PrintVersion」は何か特別なことをするわけではありません Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author yakumo.izuru
date Tue, 26 Mar 2024 11:56:38 +0000
parents 7b122b71fcfa
children 744541fee713
comparison
equal deleted inserted replaced
84:70a33aa93055 85:64cd79d367b5
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() string { 16 func PrintVersion(){
17 return fmt.Sprintf("%s", Version) 17 fmt.Printf("%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)