Documentation
¶
Index ¶
- func DbInit(SqliteDbPath string) (bool, error)
- func QueryAuthorBooks(authorid, limit, start int) []models.BookVo
- func QueryAuthorBooksCount(authorid int) int
- func QueryAuthors(limit, start int) []models.Author
- func QueryAuthorsCount() int64
- func QueryBook(bookid int) models.BookVo
- func QueryBookFile(bookid int) (*os.File, error)
- func QueryBookFileByte(bookid int) []byte
- func QueryBookRating(bookid int) int
- func QueryBooks(limit, start int) []models.BookVo
- func QueryBooksCount() int64
- func QueryCoverImg(bookid int) []byte
- func QueryDiscoverBooks(limit, start int) []models.BookVo
- func QueryLanguageBooks(lang_code, limit, start int) []models.BookVo
- func QueryLanguageBooksCount(lang_code int) int
- func QueryLanguages(limit, start int) []models.Language
- func QueryLanguagesCount() int64
- func QueryNewBooks(limit, start int) []models.BookVo
- func QueryRatingBooks(limit, start int) []models.BookVo
- func QueryTagBooks(tagid, limit, start int) []models.BookVo
- func QueryTagBooksCount(tagid int) int
- func QueryTags(limit, start int) []models.Tag
- func QueryTagsCount() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryAuthorBooks ¶
author books info
func QueryDiscoverBooks ¶
discover books info
func QueryLanguageBooks ¶
languages books info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.