Documentation ¶
Overview ¶
Package starwars provides a example schema and resolver based on Star Wars characters.
Source: https://github.com/graphql/graphql.github.io/blob/source/site/_core/swapiSchema.js
Index ¶
- Variables
- type Resolver
- func (r *Resolver) Character(args *struct{ ID graphql.ID }) *characterResolver
- func (r *Resolver) CreateReview(args ...) *reviewResolver
- func (r *Resolver) Droid(args *struct{ ID graphql.ID }) *droidResolver
- func (r *Resolver) Hero(args *struct{ Episode string }) *characterResolver
- func (r *Resolver) Human(args *struct{ ID graphql.ID }) *humanResolver
- func (r *Resolver) Reviews(args *struct{ Episode string }) []*reviewResolver
- func (r *Resolver) Search(args *struct{ Text string }) []*searchResultResolver
- func (r *Resolver) Starship(args *struct{ ID graphql.ID }) *starshipResolver
Constants ¶
This section is empty.
Variables ¶
View Source
var Schema = `` /* 3855-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.