Documentation
¶
Index ¶
- func GetBook(id, language string, connection *sql.DB) (*datastructure.Book, error)
- func GetBookByTmdb(id, language string) (datastructure.Book, error)
- func GetCover(id, language string, connection *sql.DB) (string, error)
- func GetWorkDescription(article, language string, connection *sql.DB) (string, error)
- type BookSerie
- type BookSeriePart
- type Editions
- type Ordinals
- type Result
- type SearchResults
- type WikidataQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBookByTmdb ¶
func GetBookByTmdb(id, language string) (datastructure.Book, error)
Types ¶
type BookSerie ¶
type BookSerie struct { Title string Cover string // note maybe first book’s cover? Description string Authors []string Genres []string Source []datastructure.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.