Versions in this module Expand all Collapse all v0 v0.1.0 Jul 28, 2026 Changes in this version + type Book struct + func New(title string) *Book + func (b *Book) AddPage(data []byte, p Placement) error + func (b *Book) Author(name string) *Book + func (b *Book) Cover(data []byte) error + func (b *Book) Direction(d Direction) *Book + func (b *Book) Identifier(id string) *Book + func (b *Book) Language(tag string) *Book + func (b *Book) Modified(t time.Time) *Book + func (b *Book) Orientation(o Orientation) *Book + func (b *Book) Publisher(name string) *Book + func (b *Book) Series(name string, position float64) *Book + func (b *Book) Spread(s Spread) *Book + func (b *Book) WriteEPUB(w io.Writer) error + type Direction int + const LTR + const RTL + type Orientation int + const OrientationAuto + const OrientationLandscape + const OrientationPortrait + type Placement int + const PlacementAuto + const PlacementCenter + const PlacementLeft + const PlacementRight + type Spread int + const SpreadAuto + const SpreadBoth + const SpreadLandscape + const SpreadNone