Adding strings is not necessary
This commit is contained in:
parent
1f87c72e34
commit
88d7d7a0b4
@ -30,7 +30,7 @@ func VersionCmd(args CmdArgs) (int, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(&b, " go version: %s\n", runtime.Version())
|
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())
|
fmt.Print(b.String())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user