Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalibreBook ¶
type CalibreBook struct { Id int Uuid string Publisher string Size int Identifiers map[string]string Formats []string Title string Authors []string AuthorSort string `json:"author_sort"` Timestamp Time3339 PubDate Time3339 LastModified Time3339 `json:"last_modified"` Tags []string Comments string Languages []string Cover string SeriesIndex *float64 `json:"series_index"` }
func (*CalibreBook) FilePath ¶
func (b *CalibreBook) FilePath() string
FilePath returns the path to the epub for the book, or empty string if not found.
func (*CalibreBook) Url ¶
func (b *CalibreBook) Url() *url.URL
Url returns the source URL for the book, or nil if unavailable.
type Time3339 ¶
func NewTime3339 ¶
NewTime1339 returns a new Time3339. If the given time is zero time, use the current time instead.
func (*Time3339) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.