]> Cypherpunks repositories - gostls13.git/commit
archive/tar: fix inconsistent namespace usage in example
authorJeremy Jackins <jeremyjackins@gmail.com>
Mon, 1 Oct 2012 22:10:42 +0000 (08:10 +1000)
committerDavid Symonds <dsymonds@golang.org>
Mon, 1 Oct 2012 22:10:42 +0000 (08:10 +1000)
commitb9e423eff30125fbbdae4340d272d7fd076236c1
tree527aa6326eaa2d7c04038db6161ba1017c27c489
parent9070d5759ff2d9b99dbe3d44c26300b54ab021e8
archive/tar: fix inconsistent namespace usage in example

This fixes some example code in the tar package documentation, which
first refers to tar.NewWriter and then to Header, which is inconsistent
because NewWriter and Header are both in the tar namespace.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6595050
src/pkg/archive/tar/writer.go