Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPokemonNotFound = errors.New("pokemon not found") ErrPokeApiFailure = errors.New("pokeapi failure") )
Functions ¶
func GetPokemonFromPokeApi ¶
func GetPokemonFromPokeApi(id string) (*models.PokeApiPokemonResponse, error)
func HandlerGetPokemon ¶
func HandlerGetPokemon(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.