Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WikiPageParser ¶
type WikiPageParser struct {
// contains filtered or unexported fields
}
WikiPageParser converts data from Wiki page into countries list
func NewWikiPageParser ¶
func NewWikiPageParser(page *wiki.Page) *WikiPageParser
NewWikiPageParser creates new parser for given Wiki page
func (*WikiPageParser) Parse ¶
func (p *WikiPageParser) Parse() []*internal.Country
Parse parses Wiki page contents into list of countries, if no countries are found from page empty slice is returned
Click to show internal directories.
Click to hide internal directories.