Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProvinciaDownloader ¶
type ProvinciaDownloader struct { ProvinciasList []string TmpDir string // contains filtered or unexported fields }
func NewDownloader ¶
func NewDownloader() ProvinciaDownloader
ProvinciaDownloader creates a ProvinciaDownloader object
func (*ProvinciaDownloader) GetPadron ¶
func (p *ProvinciaDownloader) GetPadron()
GetPadron iterates through the list of "provincias" and calls the url donwloader
func (*ProvinciaDownloader) GetProvincaFilePath ¶
func (p *ProvinciaDownloader) GetProvincaFilePath(provincia string) string
GetProvincaFilePath returs the file path
func (*ProvinciaDownloader) GetProvinciasList ¶
func (p *ProvinciaDownloader) GetProvinciasList() []string
GetProvinciasList returs the slice of provincias
Click to show internal directories.
Click to hide internal directories.