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 (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 (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
Click to show internal directories.
Click to hide internal directories.