Documentation ¶ Index ¶ type Archive func (archive Archive) AddBasicFile(path string, content []byte) func (archive Archive) Bytes() ([]byte, error) func (archive Archive) Filter(patterns ...string) (Archive, error) func (archive Archive) SetDirectory(directory string) (Archive, bool) type Entry Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Archive ¶ type Archive map[string]*Entry func (Archive) AddBasicFile ¶ func (archive Archive) AddBasicFile(path string, content []byte) func (Archive) Bytes ¶ func (archive Archive) Bytes() ([]byte, error) func (Archive) Filter ¶ func (archive Archive) Filter(patterns ...string) (Archive, error) func (Archive) SetDirectory ¶ func (archive Archive) SetDirectory(directory string) (Archive, bool) type Entry ¶ type Entry struct { Header *tar.Header Content []byte } Source Files ¶ View all Source files types.go Click to show internal directories. Click to hide internal directories.