Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtractQuery ¶
type ExtractQuery struct {
Pages Pages `json:"pages"`
}
ExtractQuery represents the query object from the wikipedia api
func (ExtractQuery) String ¶
func (q ExtractQuery) String() string
type Page ¶
type Page struct {
Extract string `json:"extract"`
}
Page represents a single page result from wikipedia api
type Search ¶
type Search struct {
Title string `json:"title"`
}
Search represents a single search result from the wikipedia api
type SearchQuery ¶
type SearchQuery struct {
Search searchResults `json:"search"`
}
SearchQuery represents the search results from the wikipedia api
func (SearchQuery) String ¶
func (sq SearchQuery) String() string
Click to show internal directories.
Click to hide internal directories.