Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WikipediaURL ¶
Wikipedia generates the Wikipedia URL from the page ID and title.
Types ¶
type Infobox ¶
func NewInfobox ¶
type Manager ¶
type Manager struct { // Override in tests to use a mock server BaseURL string }
Manager provides reference management using Wikipedia API.
func NewManager ¶
func NewManager() *Manager
type Parse ¶
type ParseResponse ¶
type ParseResponse struct {
Parse Parse `json:"parse"`
}
type Query ¶
type Query struct {
Results []QueryResult `json:"search"`
}
type QueryResponse ¶
type QueryResponse struct {
Query Query `json:"query"`
}
type QueryResult ¶
Click to show internal directories.
Click to hide internal directories.