]> Cypherpunks repositories - gostls13.git/commit
compress/gzip: add examples
authorEmmanuel Odeke <emm.odeke@gmail.com>
Thu, 15 Sep 2016 14:39:19 +0000 (07:39 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 22 Sep 2016 06:41:11 +0000 (06:41 +0000)
commitdcbbd319e9cdd44d50314818ec05672b60e8f8e7
treed325dd9607b740c6100ee158750147bf66629ae2
parenta7dc821d6447f9bdfb54e2fad2ab76f6d40873ca
compress/gzip: add examples

Updates #16360.

Adds examples uing:
+ Writer, Reader
+ Reader.Multistream to concatenate and then
individually retrieve multiple gzipped files
+ Reset

Change-Id: I9ad9b92729a5cd58f7368eaf2db05f1cdf21063d
Reviewed-on: https://go-review.googlesource.com/29218
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/compress/gzip/example_test.go [new file with mode: 0644]