mirror of
https://github.com/vbatts/tar-split.git
synced 2024-11-26 01:35:39 +00:00
tar/storage: add Packer TODO
This commit is contained in:
parent
89bd581749
commit
8ff77b5aa0
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue