scraper

package
v0.0.0-...-23920af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstDate

func FirstDate(countryHtmlRoot string) (time.Time, error)

Types

type ByTime

type ByTime []ScrapedDate

func (ByTime) Len

func (t ByTime) Len() int

func (ByTime) Less

func (t ByTime) Less(i, j int) bool

func (ByTime) Swap

func (t ByTime) Swap(i, j int)

type CountryFile

type CountryFile struct {
	ScrapedDate ScrapedDate
	Filename    string
}

func AllFilesForCountry

func AllFilesForCountry(filename string) ([]CountryFile, error)

type ScrapedDate

type ScrapedDate struct {
	DirStr  string
	TimeStr string
	Time    time.Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL