Versions in this module Expand all Collapse all v1 v1.0.1 Oct 14, 2018 Changes in this version + const XMLHeader + func AddFileFromDisk(z *zip.Writer, zipPath, diskPath string) error + func Decode(f *zip.File, dest interface{}) error + func ExtractToDiskTmp(f *zip.File, path string) (string, error) + func MarshalXML(z *zip.Writer, filename string, v interface{}) error + func MarshalXMLByType(z *zip.Writer, dt gooxml.DocType, typ string, v interface{}) error + func MarshalXMLByTypeIndex(z *zip.Writer, dt gooxml.DocType, typ string, idx int, v interface{}) error + func RelationsPathFor(path string) string + type DecodeMap struct + func (d *DecodeMap) AddTarget(filePath string, ifc interface{}, sourceFileType string, idx uint32) bool + func (d *DecodeMap) Decode(files []*zip.File) error + func (d *DecodeMap) IndexFor(path string) int + func (d *DecodeMap) RecordIndex(path string, idx int) + func (d *DecodeMap) SetOnNewRelationshipFunc(fn OnNewRelationshipFunc) + type OnNewRelationshipFunc func(decMap *DecodeMap, target, typ string, files []*zip.File, ...) error + type SelfClosingWriter struct + W io.Writer + func (s SelfClosingWriter) Write(b []byte) (int, error) + type Target struct + Ifc interface{} + Index uint32 + Path string + Typ string