Versions in this module Expand all Collapse all v0 v0.1.0 Aug 28, 2023 v0.0.1 Aug 28, 2023 Changes in this version + var ErrBadItemref = errors.New("epub: itemref references non-existent item") + var ErrBadManifest = errors.New("epub: manifest references non-existent item") + var ErrBadRootfile = errors.New("epub: container references non-existent rootfile") + var ErrNoItemref = errors.New("epub: no itemrefs found in spine") + var ErrNoRootfile = errors.New("epub: no rootfile found in container") + type Container struct + Rootfiles []*Rootfile + type Item struct + HREF string + ID string + MediaType string + func (item *Item) Open() (r io.ReadCloser, err error) + type Itemref struct + IDREF string + type Manifest struct + Items []Item + type Metadata struct + Contributor string + Coverage string + Creator string + Description string + Event []struct{ ... } + Format string + Identifier string + Language string + Publisher string + Relation string + Rights string + Source string + Subject string + Title string + Type string + type Package struct + type ReadCloser struct + func OpenReader(name string) (*ReadCloser, error) + func (rc *ReadCloser) Close() + type Reader struct + func NewReader(ra io.ReaderAt, size int64) (*Reader, error) + type Rootfile struct + FullPath string + type Spine struct + Itemrefs []Itemref