Documentation ¶
Index ¶
- Constants
- func Get(url string) []byte
- func GetResourceList(url string) structs.Resource
- func WriteCSV(data interface{}, outputDir string, outputName string)
- func WriteJSON(data interface{}, outputDir string, outputName string)
- func WriteXML(data interface{}, outputDir string, outputName string)
- func WriteYAML(data interface{}, outputDir string, outputName string)
- type Encounter
- type LocationAreaEncounter
- type VersionEncounterDetail
Constants ¶
View Source
const ( PokeApiBaseUrl = "https://pokeapi.co/api/v2" ErrorStringGetByNameOrId = "Unable to find %s by name or id of: %s" ErrorStringGetById = "Unable to find %s by id of: %s" )
Variables ¶
This section is empty.
Functions ¶
func GetResourceList ¶
Types ¶
type LocationAreaEncounter ¶
type LocationAreaEncounter struct { LocationArea structs.Result `json:"location_area"` VersionDetail []VersionEncounterDetail `json:"version_details"` }
Click to show internal directories.
Click to hide internal directories.