gototo

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 3 Imported by: 1

README

gototo

toto scraper

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Draw

type Draw interface {
	GetDate() string
	GetWinningNumbers() []int
	GetAdditionalNumber() int
}

func GetLatestDraw

func GetLatestDraw() Draw

func ParseSelectionToDraw

func ParseSelectionToDraw(e *goquery.Selection) Draw

type DrawModel

type DrawModel struct {
	Date             string
	WinningNumbers   []int
	AdditionalNumber int
}

func (DrawModel) GetAdditionalNumber

func (r DrawModel) GetAdditionalNumber() int

func (DrawModel) GetDate

func (r DrawModel) GetDate() string

func (DrawModel) GetWinningNumbers

func (r DrawModel) GetWinningNumbers() []int

type NextDraw

type NextDraw interface {
	GetDate() string
	GetPrize() string
}

func GetNextDraw

func GetNextDraw() NextDraw

func ParseNextDraw

func ParseNextDraw(e *goquery.Selection) NextDraw

type NextDrawModel

type NextDrawModel struct {
	Date  string
	Prize string
}

func (NextDrawModel) GetDate

func (n NextDrawModel) GetDate() string

func (NextDrawModel) GetPrize

func (n NextDrawModel) GetPrize() string

Jump to

Keyboard shortcuts

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