tweaks
This commit is contained in:
parent
6cda447c49
commit
6234f87f80
@ -9,7 +9,7 @@ $ go build hello-world.go
|
|||||||
$ ls
|
$ ls
|
||||||
hello-world hello-world.go
|
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
|
||||||
Hello world
|
Hello world
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Write out the uppercased bytes, checking for an
|
// 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)
|
outBytes := bytes.ToUpper(inBytes)
|
||||||
_, err = out.Write(outBytes)
|
_, err = out.Write(outBytes)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
</p>
|
</p>
|
||||||
{{end}}
|
{{end}}
|
||||||
<p class="footer">
|
<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> & <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> & <a href="https://github.com/mmcgrana/gobyexample#license">license</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user