Thank you for fixing this. As this is example code, would I be able to
convince you to extend your patch a little and convert this code into
an ExampleNewReader example?
Cheers
Dave
On Tue, Apr 17, 2012 at 2:33 PM, <qyzhai@gmail.com> wrote:
> Reviewers: golang-dev_googlegroups.com,
>
> Message:
> Hello golang-dev@googlegroups.com,
>
> I'd like you to review this change to
> http://code.google.com/p/go/
>
>
> Description:
> compress/zlib: minor fixes
>
> Please review this at http://codereview.appspot.com/6058043/
>
> Affected files:
> M src/pkg/compress/zlib/reader.go
>
>
> Index: src/pkg/compress/zlib/reader.go
> ===================================================================
> --- a/src/pkg/compress/zlib/reader.go
> +++ b/src/pkg/compress/zlib/reader.go
> @@ -11,7 +11,7 @@
> to a buffer:
>
> var b bytes.Buffer
> - w, err := zlib.NewWriter(&b)
> + w := zlib.NewWriter(&b)
> w.Write([]byte("hello, world\n"))
> w.Close()
>
>
>
Assuming there is no more discussion, I'll submit this today.
On Sat, Apr 21, 2012 at 10:08 AM, zhai <qyzhai@gmail.com> wrote:
> ping
>
>
> On Wed, Apr 18, 2012 at 8:03 AM, <dave@cheney.net> wrote:
>>
>> LGTM. Thank you for adding some nice examples.
>>
>> http://codereview.appspot.com/6058043/
>
>
*** Submitted as http://code.google.com/p/go/source/detail?r=23c94e7b3fd6 *** compress/zlib: minor fixes R=golang-dev, dave CC=golang-dev http://codereview.appspot.com/6058043 Committer: Dave Cheney ...
Issue 6058043: code review 6058043: compress/zlib: minor fixes
Created 12 years ago by zhai
Modified 2 years, 7 months ago
Reviewers: gl
Base URL:
Comments: 0