Documentation ¶
Index ¶
- Variables
- func GetTopicNumberOfOccurrencesByTopicId(topicID int) int
- func InitDB()
- type EpubsForTopicWithNumberOfMatchedPages
- type EpubsNumberOfPage
- type ExternalRelationsForTopic
- type Page
- type RelatedTopicNamesForTopicWithNumberOfOccurrences
- type Topic
- type TopicAlternateName
- type TopicNamesForPage
- type TopicNumberOfOccurrences
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
Functions ¶
Types ¶
type EpubsForTopicWithNumberOfMatchedPages ¶
type EpubsForTopicWithNumberOfMatchedPages = models.EpubsForTopicWithNumberOfMatchedPages
func GetEpubsForTopicWithNumberOfMatchedPages ¶
func GetEpubsForTopicWithNumberOfMatchedPages(topicID int) []*EpubsForTopicWithNumberOfMatchedPages
type EpubsNumberOfPage ¶
type EpubsNumberOfPage = models.EpubsNumberOfPages
func GetEpubsNumberOfPages ¶
func GetEpubsNumberOfPages() (epubsNumberOfPages []*EpubsNumberOfPage)
type ExternalRelationsForTopic ¶
type ExternalRelationsForTopic = models.ExternalRelationsForTopic
func GetExternalRelationsForTopics ¶
func GetExternalRelationsForTopics(topicID int) []*ExternalRelationsForTopic
type Page ¶
func GetPagesAll ¶
func GetPagesAll() (pages []*Page)
func GetPagesByPageIDs ¶ added in v0.10.0
type RelatedTopicNamesForTopicWithNumberOfOccurrences ¶
type RelatedTopicNamesForTopicWithNumberOfOccurrences = models.RelatedTopicNamesForTopicWithNumberOfOccurrences
func GetRelatedTopicNamesForTopicWithNumberOfOccurrences ¶
func GetRelatedTopicNamesForTopicWithNumberOfOccurrences(topicID int) (relatedTopicsWithNumberOfOccurrences []*RelatedTopicNamesForTopicWithNumberOfOccurrences)
type TopicAlternateName ¶
type TopicAlternateName = models.TopicAlternateName
func GetTopicsWithAlternateNamesAll ¶
func GetTopicsWithAlternateNamesAll() (topicsWithAlternateNames []*TopicAlternateName)
func GetTopicsWithAlternateNamesByTopicIDs ¶
func GetTopicsWithAlternateNamesByTopicIDs(topicIDs []string) (topicsWithAlternateNamesByTopicIDs []*TopicAlternateName)
type TopicNamesForPage ¶
type TopicNamesForPage = models.TopicNamesForPage
func GetPageTopicNamesByPageId ¶
func GetPageTopicNamesByPageId(pageId int) (topicNamesForPage []*TopicNamesForPage)
type TopicNumberOfOccurrences ¶
type TopicNumberOfOccurrences = models.TopicNumberOfOccurrences
Click to show internal directories.
Click to hide internal directories.