example

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAgeArgs

type GetAgeArgs struct {
	Name string
}

type MyString

type MyString *MyStringVal

type MyStringVal

type MyStringVal string

type RootResolver

type RootResolver struct{}

func (*RootResolver) GetAge

func (r *RootResolver) GetAge(args *GetAgeArgs) (int, error)

GetAge returns the age of the person by name.

func (*RootResolver) GetNames

func (r *RootResolver) GetNames(ctx context.Context, outCh chan<- string) error

GetNames returns the names of the people.

Jump to

Keyboard shortcuts

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