team

package
v0.0.0-...-702d5d8 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Country

type Country struct {
}

func (Country) GetEndpoint

func (c Country) GetEndpoint() string

func (Country) GetResponseStruct

func (c Country) GetResponseStruct() response.ResponseInterface

type Statistics

type Statistics struct {
	League    int       `mapstructure:"league" validate:"required"`
	Season    int       `mapstructure:"season" validate:"required,gte=1000,lte=9999"`
	Team      int       `mapstructure:"team" validate:"required"`
	LimitDate time.Time `mapstructure:"date,omitempty" validate:"omitempty"`
}

func (Statistics) GetEndpoint

func (s Statistics) GetEndpoint() string

func (Statistics) GetResponseStruct

func (s Statistics) GetResponseStruct() response.ResponseInterface

type Team

type Team struct {
	ID          int    `mapstructure:"id,omitempty" validate:"omitempty"`
	Name        string `mapstructure:"name,omitempty" validate:"omitempty"`
	League      int    `mapstructure:"league,omitempty" validate:"omitempty"`
	Season      int    `mapstructure:"season,omitempty" validate:"omitempty,gte=1000,lte=9999"`
	Country     string `mapstructure:"country,omitempty" validate:"omitempty"`
	CountryCode string `mapstructure:"code,omitempty" validate:"omitempty,len=3"`
	Venue       int    `mapstructure:"venue,omitempty" validate:"omitempty"`
	Search      string `mapstructure:"search,omitempty" validate:"omitempty,min=3"`
}

func (Team) GetEndpoint

func (t Team) GetEndpoint() string

func (Team) GetResponseStruct

func (t Team) GetResponseStruct() response.ResponseInterface

type TeamSeason

type TeamSeason struct {
	Team int `mapstructure:"team" validate:"required"`
}

func (TeamSeason) GetEndpoint

func (s TeamSeason) GetEndpoint() string

func (TeamSeason) GetResponseStruct

func (s TeamSeason) GetResponseStruct() response.ResponseInterface

Jump to

Keyboard shortcuts

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