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
Showing
Please
register
or
sign in
to comment