tweaks
This commit is contained in:
parent
6cda447c49
commit
6234f87f80
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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> & <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>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user