From 6234f87f80e468eede7396825096279b1f9f4be9 Mon Sep 17 00:00:00 2001
From: Mark McGranaghan
Date: Tue, 9 Oct 2012 21:12:59 -0700
Subject: [PATCH] tweaks
---
examples/hello-world/hello-world.sh | 2 +-
examples/line-filters/line-filters.go | 2 +-
template/example.tmpl | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/hello-world/hello-world.sh b/examples/hello-world/hello-world.sh
index 7e44ec1..e8c2d80 100644
--- a/examples/hello-world/hello-world.sh
+++ b/examples/hello-world/hello-world.sh
@@ -9,7 +9,7 @@ $ go build hello-world.go
$ ls
hello-world hello-world.go
-# We can then execute the built binaries directly.
+# We can then execute the built binary directly.
$ ./hello-world
Hello world
diff --git a/examples/line-filters/line-filters.go b/examples/line-filters/line-filters.go
index 83762f6..a1f87e8 100644
--- a/examples/line-filters/line-filters.go
+++ b/examples/line-filters/line-filters.go
@@ -40,7 +40,7 @@ func main() {
}
// Write out the uppercased bytes, checking for an
- // error here as well.
+ // error on the write as we did on the read.
outBytes := bytes.ToUpper(inBytes)
_, err = out.Write(outBytes)
if err != nil {
diff --git a/template/example.tmpl b/template/example.tmpl
index 7d697cd..050fea8 100644
--- a/template/example.tmpl
+++ b/template/example.tmpl
@@ -40,7 +40,7 @@
{{end}}