From 88d7d7a0b48ea9da2b97936e0cc786c41eae93e1 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 16 Mar 2021 19:21:59 -0500 Subject: [PATCH] Adding strings is not necessary --- cmd/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/version.go b/cmd/version.go index f63034a..d2df460 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -30,7 +30,7 @@ func VersionCmd(args CmdArgs) (int, error) { } fmt.Fprintf(&b, " go version: %s\n", runtime.Version()) - fmt.Fprintf(&b, " platform: %s\n", runtime.GOOS+"/"+runtime.GOARCH) + fmt.Fprintf(&b, " platform: %s/%s\n", runtime.GOOS, runtime.GOARCH) fmt.Print(b.String())