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{ ... }) *characterResolver
- func (r *Resolver) CreateReview(args ...) *reviewResolver
- func (r *Resolver) Droid(args struct{ ... }) *droidResolver
- func (r *Resolver) Hero(args struct{ ... }) *characterResolver
- func (r *Resolver) Human(args struct{ ... }) *humanResolver
- func (r *Resolver) Reviews(args struct{ ... }) []*reviewResolver
- func (r *Resolver) Search(args struct{ ... }) []*searchResultResolver
- func (r *Resolver) Starship(args struct{ ... }) *starshipResolver
Constants ¶
This section is empty.
Variables ¶
View Source
var Schema = `` /* 3854-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.