Only compute version once

This commit is contained in:
Deluan
2022-09-14 21:09:39 -04:00
parent ebad96b8a4
commit 4cf43ed735
8 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -14,6 +14,6 @@ func loadBanner() string {
}
func Banner() string {
version := "Version: " + consts.Version()
version := "Version: " + consts.Version
return fmt.Sprintf("%s\n%52s\n", loadBanner(), version)
}