FAQ
https://codereview.appspot.com/7220048/diff/8008/src/pkg/archive/tar/example_test.go
File src/pkg/archive/tar/example_test.go (right):

https://codereview.appspot.com/7220048/diff/8008/src/pkg/archive/tar/example_test.go#newcode28
src/pkg/archive/tar/example_test.go:28: hdr := new(tar.Header)
hdr := &tar.Header{
Name: file.Name,
Size: int64(len(file.Body)),
}

https://codereview.appspot.com/7220048/diff/8008/src/pkg/archive/tar/example_test.go#newcode30
src/pkg/archive/tar/example_test.go:30: // populate other hdr fields as
desired.
delete this, kinda obvious

https://codereview.appspot.com/7220048/diff/8008/src/pkg/archive/tar/example_test.go#newcode47
src/pkg/archive/tar/example_test.go:47: // Iterate through the files in
the archive.
add a blank line above this

https://codereview.appspot.com/7220048/diff/8008/src/pkg/archive/tar/example_test.go#newcode74
src/pkg/archive/tar/example_test.go:74: // Write more examples.
delete this line :-) I love the rest

https://codereview.appspot.com/7220048/

--

---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedJan 31, '13 at 11:55p
activeJan 31, '13 at 11:55p
posts1
users1
websitegolang.org

1 user in discussion

Adg: 1 post

People

Translate

site design / logo © 2021 Grokbase