From 8ff77b5aa0f456ac98667c9901f8f98f995fdb21 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 24 Feb 2015 15:49:06 -0500 Subject: [PATCH] tar/storage: add Packer TODO --- tar/storage/packer.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tar/storage/packer.go b/tar/storage/packer.go index 9116618..2ea79d3 100644 --- a/tar/storage/packer.go +++ b/tar/storage/packer.go @@ -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 +*/