Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct { Epub *epub.Epub // rate limiter for importing assets RateLimiter *rate.Limiter // contains filtered or unexported fields }
Writer contains all information and functions to create the final .epub file
func (*Writer) AddChapter ¶
AddChapter adds a chapter to the to our current chapter list
func (*Writer) PolishEpub ¶
func (w *Writer) PolishEpub()
PolishEpub uses calibres ebook-polish command to compress images and fix possible errors which occurred to me multiple times using the bmaupin/go-epub library
Click to show internal directories.
Click to hide internal directories.