Rename rac.Writer as rac.ChunkWriter

This commit is contained in:
Nigel Tao committed 2019-08-08 12:20:40 +10:00
1 parent b7b4e308ba
commit 05267a2edc
4 files changed
+32 -30

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ func Example_indexLocationAtEnd() {
}
buf := &bytes.Buffer{}
w := &rac.Writer{
w := &rac.ChunkWriter{
Writer: buf,
Codec: rac.CodecZlib,
}
@@ -100,7 +100,7 @@ func Example_indexLocationAtEnd() {
// See the RAC specification for an explanation of the file format.
func Example_indexLocationAtStart() {
buf := &bytes.Buffer{}
w := &rac.Writer{
w := &rac.ChunkWriter{
Writer: buf,
Codec: rac.CodecZlib,
IndexLocation: rac.IndexLocationAtStart,