1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:21:22 -06:00
go/src/bytes
Carlos C 14e446d909 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>
2016-08-16 01:33:32 +00:00
..
buffer_test.go bytes: export Cap method for buffer 2015-04-03 23:50:02 +00:00
buffer.go bytes: correct comment about usage of bytes.Buffer by Printf 2016-03-10 15:54:08 +00:00
bytes_decl.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
bytes_test.go bytes: use Run method for benchmarks 2016-06-03 07:03:03 +00:00
bytes.go bytes: add ContainsRune 2016-04-08 20:24:57 +00:00
compare_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
equal_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
example_test.go bytes: add examples 2016-08-16 01:33:32 +00:00
export_test.go bytes: export Cap method for buffer 2015-04-03 23:50:02 +00:00
reader_test.go all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
reader.go all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00