Documentation
¶
Index ¶
- func GetCover(id, language string, connection *sql.DB) (string, error)
- func GetWorkDescription(article, language string, connection *sql.DB) (string, error)
- type Book
- type BookSerie
- type BookSeriePart
- type Editions
- type Ordinals
- type Result
- type SearchResults
- type Source
- type WikidataQuery
- type Work
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Book ¶
type Book struct { Uri string Source []Source Cover string Authors []string Year int64 Title string SerieUri string SerieName string PartInSerie string Genres []string Article string Description string }
func GetBookByTmdb ¶
func (Book) GetArticle ¶
func (*Book) SetDescription ¶
type BookSerie ¶
type BookSerie struct { Title string Cover string // note maybe first book’s cover? Description string Authors []string Genres []string Source []Source Article string Parts map[string]BookSeriePart SortedParts []BookSeriePart }
func GetBookSerieOrdinals ¶
func (BookSerie) GetArticle ¶
func (*BookSerie) SetDescription ¶
type BookSeriePart ¶
type SearchResults ¶
type WikidataQuery ¶
type WikidataQuery struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.