- package pokemon
- // RawPokemon is a re-typed byte slice.
- type RawPokemon []byte
- // Pokemon is a struct the has fields for all relevant pokemon data from a
- // RawPokemon.
- type Pokemon struct {
- PokedexNumber uint16 `json:"pokedex_number"`
- RawNickname []byte `json:"raw_nickname"`
- Nickname string `json:"nickname"`
- RawPokemon *RawPokemon `json:"raw_pokemon"`
- }
|