services

package
v0.0.0-...-6fcfc1a Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NumPokemon = 898
	OddsShiny  = 100
)

Variables

View Source
var ErrEvolve = errors.New("could not evolve")

Functions

func FetchAsciiSprite

func FetchAsciiSprite(imgUrl string) (string, error)

func FetchPokemon

func FetchPokemon(id string, isShiny bool) (*models.PokemonModel, error)

func FetchRandomPokemon

func FetchRandomPokemon() (*models.PokemonModel, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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