commit | 6b2e5b35ce8ed092eaedc3d2a2294373a639f122 | [log] [tgz] |
---|---|---|
author | Katrina Owen <katrina.owen@gmail.com> | Tue Feb 09 18:32:27 2016 +1100 |
committer | Andrew Gerrand <adg@golang.org> | Tue Feb 09 23:06:13 2016 +0000 |
tree | c4730c752fded4bb5be2ad1843aaeb55d67a687a | |
parent | 4f4c90a30c66c1d83d1c843c542e193c494b718a [diff] |
content: clarify append code example Rename variable: a (array) -> s (slice). Capitalize comments to make full sentences. Simplify printSlice function. There's no need to pass a descriptive string, since the name of the slice is the same each time the function is called. Change-Id: I18981b4c649ee84b121f3aedce5ee62c2fa37b08 Reviewed-on: https://go-review.googlesource.com/19404 Reviewed-by: Andrew Gerrand <adg@golang.org>