Adding strings is not necessary

This commit is contained in:
Ryan Cavicchioni 2021-03-16 19:21:59 -05:00
parent 1f87c72e34
commit 88d7d7a0b4
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -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())