Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Athlete ¶
type Athlete struct {
Slug string `json:"slug"`
Name string `json:"name"`
Gender string `json:"gender"`
Age uint8 `json:"age"`
Sport string `json:"sport"`
FamousFor string `json:"famous_for"`
}
func GetAthlete ¶
func GetAthletes ¶
func GetRandomAthlete ¶
type SearchType ¶
type SearchType int
const ( SearchByName SearchType = iota SearchBySport SearchByFamousFor )
Click to show internal directories.
Click to hide internal directories.