pokemon

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAbilityToCache

func AddAbilityToCache(ability pokemon.Ability) error

func AddCharacteristicToCache

func AddCharacteristicToCache(characteristic pokemon.Characteristic) error

func AddColorToCache

func AddColorToCache(color pokemon.Color) error

func AddEggGroupToCache

func AddEggGroupToCache(eggGroup pokemon.EggGroup) error

func AddFormToCache

func AddFormToCache(form pokemon.Form) error

func AddGenderToCache

func AddGenderToCache(gender pokemon.Gender) error

func AddGrowthRateToCache

func AddGrowthRateToCache(growthRate pokemon.GrowthRate) error

func AddHabitatToCache

func AddHabitatToCache(habitat pokemon.Habitat) error

func AddLocationAreaToCache

func AddLocationAreaToCache(locationArea []pokemon.LocationArea, name string) error

func AddNatureToCache

func AddNatureToCache(nature pokemon.Nature) error

func AddPokeathlonStatToCache

func AddPokeathlonStatToCache(pokeathlonStat pokemon.PokeathlonStat) error

func AddPokemonToCache

func AddPokemonToCache(pokemon pokemon.Pokemon) error

func AddShapeToCache

func AddShapeToCache(shape pokemon.Shape) error

func AddSpeciesToCache

func AddSpeciesToCache(species pokemon.Species) error

func AddStatToCache

func AddStatToCache(stat pokemon.Stat) error

func AddTypeToCache

func AddTypeToCache(tipe pokemon.Type) error

func GetAbilityFromCache

func GetAbilityFromCache(name string) (pokemon.Ability, error)

func GetCharacteristicFromCache

func GetCharacteristicFromCache(id int) (pokemon.Characteristic, error)

func GetColorFromCache

func GetColorFromCache(name string) (pokemon.Color, error)

func GetEggGroupFromCache

func GetEggGroupFromCache(name string) (pokemon.EggGroup, error)

func GetFormFromCache

func GetFormFromCache(name string) (pokemon.Form, error)

func GetGenderFromCache

func GetGenderFromCache(name string) (pokemon.Gender, error)

func GetGrowthRateFromCache

func GetGrowthRateFromCache(name string) (pokemon.GrowthRate, error)

func GetHabitatFromCache

func GetHabitatFromCache(name string) (pokemon.Habitat, error)

func GetLocationAreaFromCache

func GetLocationAreaFromCache(name string) ([]pokemon.LocationArea, error)

func GetNatureFromCache

func GetNatureFromCache(name string) (pokemon.Nature, error)

func GetPokeathlonStatFromCache

func GetPokeathlonStatFromCache(name string) (pokemon.PokeathlonStat, error)

func GetPokemonFromCache

func GetPokemonFromCache(name string) (pokemon.Pokemon, error)

func GetShapeFromCache

func GetShapeFromCache(name string) (pokemon.Shape, error)

func GetSpeciesFromCache

func GetSpeciesFromCache(name string) (pokemon.Species, error)

func GetStatFromCache

func GetStatFromCache(name string) (pokemon.Stat, error)

func GetTypeFromCache

func GetTypeFromCache(name string) (pokemon.Type, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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