From 5750ec96cb47593bedea3435f19e089d3662cedc Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Mon, 28 Oct 2024 10:41:20 +0100 Subject: [PATCH] refactor: update version output - use `Println` for better readability --- cmd/server/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index bb2eb2f..ebcee49 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -25,8 +25,8 @@ func Start() { flag.Parse() if *showVersionFlag { - fmt.Printf("App-Version: %s\n", metadata.GoTomatoVersion) - fmt.Printf("Protocol-Version: %s\n", metadata.ProtocolVersion) + fmt.Println("App-Version:", metadata.GoTomatoVersion) + fmt.Println("Protocol-Version:", metadata.ProtocolVersion) os.Exit(0) }