]> Cypherpunks repositories - gostls13.git/commit
archive/zip: hide Write method from *Writer type
authorAndrew Gerrand <adg@golang.org>
Mon, 13 Feb 2012 23:47:48 +0000 (10:47 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 13 Feb 2012 23:47:48 +0000 (10:47 +1100)
commit04868b28ac5b3ff608a58b4dbb7daa87f75fd660
tree9701a73135948bd1b5d30d4554db01d55ecd04a5
parent2d53d227f67fd38b9e4cd0d21f6f29c101b808da
archive/zip: hide Write method from *Writer type

This was an implementation detail that snuck into the public interface.
*Writer.Create gives you an io.Writer, the *Writer itself was never
meant to be written to.

R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/5654076
doc/go1.html
doc/go1.tmpl
src/pkg/archive/zip/writer.go