This commit is contained in:
Mark McGranaghan 2012-10-09 21:12:59 -07:00
parent 6cda447c49
commit 6234f87f80
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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 {

View File

@ -40,7 +40,7 @@
</p>
{{end}}
<p class="footer">
Follow <a href="https://twitter.com/gobyexample">@gobyexample</a> for updates. <a href="https://github.com/mmcgrana/gobyexample/blob/master/src/{{.Id}}">Source</a> &amp; <a href="https://github.com/mmcgrana/gobyexample#license">license</a>.
Follow <a href="https://twitter.com/gobyexample">@gobyexample</a> for updates. <a href="https://github.com/mmcgrana/gobyexample/blob/master/examples/{{.Id}}">Source</a> &amp; <a href="https://github.com/mmcgrana/gobyexample#license">license</a>.
</p>
</div>
</body>