Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EpubReader ¶
type EpubReader struct{}
type Metadata ¶
type Metadata struct { Title string Authors []string Description template.HTML Language string Year string Words float64 Series string SeriesIndex float64 Pages int Format string Subjects []string }
func (Metadata) ReadingTime ¶
type PdfReader ¶
type PdfReader struct{}
type ReaderMock ¶
type ReaderMock struct { MetadataFake func(file string) (Metadata, error) CoverFake func(documentFullPath string) ([]byte, error) }
func NewReaderMock ¶
func NewReaderMock() ReaderMock
Click to show internal directories.
Click to hide internal directories.