From 020637daa979cff4035e68b09802e045456fa943 Mon Sep 17 00:00:00 2001 From: Michael Matloob Date: Sun, 18 Jan 2015 16:04:47 -0800 Subject: [PATCH] cmd/dist: produce a properly formatted zversion.go gofmt inserts a blank line line between const and var declarations Change-Id: I3f2ddbd9e66a74eb3f37a2fe641b93820b02229e Reviewed-on: https://go-review.googlesource.com/3022 Reviewed-by: Brad Fitzpatrick --- src/cmd/dist/buildruntime.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/dist/buildruntime.go b/src/cmd/dist/buildruntime.go index c0ec2efbd6..1e6ae82397 100644 --- a/src/cmd/dist/buildruntime.go +++ b/src/cmd/dist/buildruntime.go @@ -27,6 +27,7 @@ func mkzversion(dir, file string) { "\n"+ "const defaultGoroot = `%s`\n"+ "const theVersion = `%s`\n"+ + "\n"+ "var buildVersion = theVersion\n", goroot_final, goversion) writefile(out, file, 0) -- 2.50.0