entry

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	// contains filtered or unexported fields
}

func NewEntry

func NewEntry(props *Props) *Entry

func (*Entry) GetChildren

func (e *Entry) GetChildren() []goFE.Component

func (*Entry) GetID

func (e *Entry) GetID() uuid.UUID

func (*Entry) InitEventListeners

func (e *Entry) InitEventListeners()

func (*Entry) Render

func (e *Entry) Render() string

type Pokemon

type Pokemon struct {
	ID      int            `json:"id"`
	Name    string         `json:"name"`
	Sprites PokemonSprites `json:"sprites"`
}

type PokemonSprites

type PokemonSprites struct {
	Other struct {
		OfficialArtwork struct {
			FrontDefault string `json:"front_default"`
		} `json:"official-artwork"`
	} `json:"other"`
}

type Props

type Props struct {
	PokemonID int
}

Jump to

Keyboard shortcuts

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