Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
func (*Model) SetContent ¶
SetContent sets the content of the pokemon.
func (*Model) ToggleImage ¶
ToggleImage toggles between the front and back sprites.
type Pokemon ¶
type Pokemon struct {
Count int `json:"count"`
Next string `json:"next"`
Previous string `json:"previous"`
Results []PokemonDetails `json:"results"`
}
type PokemonDetails ¶
Click to show internal directories.
Click to hide internal directories.