berries

package
v0.0.0-...-9cf59af Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BerryEndpoint         = internal.PokeApiBaseUrl + "/berry"
	BerryFirmnessEndpoint = internal.PokeApiBaseUrl + "/berry-firmness"
	BerryFlavorEndpoint   = internal.PokeApiBaseUrl + "/berry-flavor"
)

Variables

This section is empty.

Functions

func GetBerry

func GetBerry(nameOrId string) (structs.Berry, error)

func GetBerryFirmness

func GetBerryFirmness(nameOrId string) (structs.BerryFirmness, error)

func GetBerryFirmnessList

func GetBerryFirmnessList() structs.Resource

func GetBerryFlavor

func GetBerryFlavor(nameOrId string) (structs.BerryFlavor, error)

func GetBerryFlavorList

func GetBerryFlavorList() structs.Resource

func GetBerryList

func GetBerryList() structs.Resource

func GetList

func GetList(result string) structs.Resource

func GetSpecific

func GetSpecific(result string, search string) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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