summaryrefslogtreecommitdiff
path: root/doc/effective_go.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/effective_go.html')
-rw-r--r--doc/effective_go.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index 0fad62426..05ac22368 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -1369,7 +1369,7 @@ func (b ByteSize) String() string {
case s >= KB:
return fmt.Sprintf("%.2fKB", b/KB)
}
- return fmt.Sprintf("%.2fB", b);
+ return fmt.Sprintf("%.2fB", b)
}
</pre>
<p>
@@ -1422,7 +1422,7 @@ func init() {
GOROOT = HOME + "/go"
}
// GOROOT may be overridden by --goroot flag on command line.
- flag.StringVar(&amp;GOROOT, "goroot", GOROOT, "Go root directory");
+ flag.StringVar(&amp;GOROOT, "goroot", GOROOT, "Go root directory")
}
</pre>