Versions in this module Expand all Collapse all v0 v0.2.0 Jan 12, 2019 Changes in this version + func NormalizePartName(name string) string + type CompressionOption int + const CompressionFast + const CompressionMaximum + const CompressionNone + const CompressionNormal + const CompressionSuperFast + type Package struct + type Part struct + ContentType string + Name string + Relationships []*Relationship + func (p *Part) CreateRelationship(id, targetURI, relType string, targetMode TargetMode) *Relationship + type Relationship struct + ID string + RelType string + TargetMode TargetMode + TargetURI string + type TargetMode int + const ModeExternal + const ModeInternal + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) Close() error + func (w *Writer) Create(name, contentType string) (io.Writer, error) + func (w *Writer) CreatePart(part *Part, compression CompressionOption) (io.Writer, error) + func (w *Writer) Flush() error v0.1.0 Nov 6, 2018