pokemon.go 388 B

12345678910111213
  1. package pokemon
  2. // RawPokemon is a re-typed byte slice.
  3. type RawPokemon []byte
  4. // Pokemon is a struct the has fields for all relevant pokemon data from a
  5. // RawPokemon.
  6. type Pokemon struct {
  7. PokedexNumber uint16 `json:"pokedex_number"`
  8. RawNickname []byte `json:"raw_nickname"`
  9. Nickname string `json:"nickname"`
  10. RawPokemon *RawPokemon `json:"raw_pokemon"`
  11. }