graphql

package
v0.0.0-...-454c3e9 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryResolver

type QueryResolver struct {
}

func NewQueryResolver

func NewQueryResolver() *QueryResolver

func (*QueryResolver) Continents

func (r *QueryResolver) Continents(ctx context.Context) ([]*models.Continent, error)

Continents is the resolver for the continents field.

func (*QueryResolver) Countries

func (r *QueryResolver) Countries(ctx context.Context) ([]*models.Country, error)

Countries is the resolver for the countries field.

Jump to

Keyboard shortcuts

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