operations

package
v0.0.0-...-93671fe Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFilters

func AddFilters(filters Filters) string

func ConvertStringUnixToDate

func ConvertStringUnixToDate(dateUnix string) time.Time

func FindEventByName

func FindEventByName(name string, events []entity.Event) entity.Event

func GetEvents

func GetEvents(page *rod.Page) []entity.Event

func GetMatch

func GetMatch(divMatches rod.Elements, matches chan []entity.Match, events []entity.Event)

func GetMatches

func GetMatches(filters Filters) ([]entity.Match, error)

func GetTeam

func GetTeam(row *rod.Element, name string, numberTeam int8) *entity.Team

Types

type Filters

type Filters struct {
	Event     string
	EventType string
	LanOnly   bool
	TopTier   bool
	Teams     []string
}

Jump to

Keyboard shortcuts

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