Versions in this module Expand all Collapse all v1 v1.0.2 Sep 25, 2016 Changes in this version + type ArchiveWriteFunc func(info os.FileInfo, file io.Reader, entryName string) (err error) + type Archivex interface + Add func(name string, file []byte) error + AddAll func(dir string, includeCurrentFolder bool) error + AddFile func(name string) error + Close func() error + Create func(name string) error + type TarFile struct + Compressed bool + GzWriter *gzip.Writer + Name string + Writer *tar.Writer + func (t *TarFile) Add(name string, file []byte) error + func (t *TarFile) AddAll(dir string, includeCurrentFolder bool) error + func (t *TarFile) AddFile(name string) error + func (t *TarFile) AddFileWithName(name string, filename string) error + func (t *TarFile) AddWithHeader(name string, file []byte, hdr *tar.Header) error + func (t *TarFile) Close() error + func (t *TarFile) Create(name string) error + type ZipFile struct + Name string + Writer *zip.Writer + func (z *ZipFile) Add(name string, file []byte) error + func (z *ZipFile) AddAll(dir string, includeCurrentFolder bool) error + func (z *ZipFile) AddFile(name string) error + func (z *ZipFile) Close() error + func (z *ZipFile) Create(name string) error