1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-11-22 08:05:39 +00:00

tar/storage: add Packer TODO

This commit is contained in:
Vincent Batts 2015-02-24 15:49:06 -05:00
parent 89bd581749
commit 8ff77b5aa0

View file

@ -89,3 +89,13 @@ func NewJsonPacker(w io.Writer) Packer {
e: json.NewEncoder(w),
}
}
/*
TODO(vbatts) perhaps have a more compact packer/unpacker, maybe using msgapck
(https://github.com/ugorji/go)
Even though, since our jsonUnpacker and jsonPacker just take
io.Reader/io.Writer, then we can get away with passing them a
gzip.Reader/gzip.Writer
*/