crawler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsultantRu

type ConsultantRu struct{}

func NewConsultantRu

func NewConsultantRu() *ConsultantRu

func (*ConsultantRu) ScrapeYear

func (c *ConsultantRu) ScrapeYear(year int) (model.Holidays, error)

type Crawler

type Crawler interface {
	ScrapeYear(year int) (model.Holidays, error)
}

Crawler is an interface for parsing holidays from different websites

Jump to

Keyboard shortcuts

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