]> Cypherpunks repositories - gostls13.git/commit
bytes: add examples
authorCarlos C <uldericofilho@gmail.com>
Tue, 19 Jul 2016 22:58:55 +0000 (00:58 +0200)
committerAndrew Gerrand <adg@golang.org>
Tue, 16 Aug 2016 01:33:32 +0000 (01:33 +0000)
commit14e446d909784fba7b349b76ec0a234c2a86a491
tree8fafe5e11ff94cac0018b1a99f31181796bbf797
parent35f5517ce9f43abb4bbe5601bb2697b15a440783
bytes: add examples

`bytes` and `strings` are pretty similar to each other, this commit
brings `strings` examples to its counter-part.

Partially addresses #16360

Change-Id: I551320eaa78be9df69012035f1c3333f500e04c9
Reviewed-on: https://go-review.googlesource.com/25062
Reviewed-by: Andrew Gerrand <adg@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/bytes/example_test.go