model

package
v0.0.0-...-f76366f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node interface {
	IsNode()
	GetID() string
}

type Pokemon

type Pokemon struct {
	// The ID of an object.
	ID string `json:"id"`
	// The National Pokédex number of this Pokémon.
	NationalPokedexNumber int `json:"nationalPokedexNumber"`
	// The name of this Pokémon.
	Name string `json:"name"`
}

Pokémon

func (Pokemon) GetID

func (this Pokemon) GetID() string

func (Pokemon) IsNode

func (Pokemon) IsNode()

type Query

type Query struct{}

Root Query.

Jump to

Keyboard shortcuts

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