diff 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
line wrap: on
line diff
--- a/version.go	Thu Apr 17 14:06:12 2025 +0000
+++ b/version.go	Sun May 04 02:19:10 2025 +0000
@@ -13,8 +13,8 @@
 )
 
 // PrintVersion only displays the obvious
-func PrintVersion(){
-	fmt.Printf("%s", Version)
+func PrintVersion() string {
+	return fmt.Sprintf("%s", Version)
 }
 
 // PrintFullVersion display the full version and build