Versions in this module Expand all Collapse all v0 v0.12.1 Aug 11, 2020 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type ComplexityRoot struct + Droid struct{ ... } + FriendsConnection struct{ ... } + FriendsEdge struct{ ... } + Human struct{ ... } + Mutation struct{ ... } + PageInfo struct{ ... } + Query struct{ ... } + Review struct{ ... } + Starship struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + type DroidResolver interface + Friends func(ctx context.Context, obj *models.Droid) ([]models.Character, error) + FriendsConnection func(ctx context.Context, obj *models.Droid, first *int, after *string) (*models.FriendsConnection, error) + type FriendsConnectionResolver interface + Edges func(ctx context.Context, obj *models.FriendsConnection) ([]*models.FriendsEdge, error) + Friends func(ctx context.Context, obj *models.FriendsConnection) ([]models.Character, error) + type HumanResolver interface + Friends func(ctx context.Context, obj *models.Human) ([]models.Character, error) + FriendsConnection func(ctx context.Context, obj *models.Human, first *int, after *string) (*models.FriendsConnection, error) + Starships func(ctx context.Context, obj *models.Human) ([]*models.Starship, error) + type MutationResolver interface + CreateReview func(ctx context.Context, episode models.Episode, review models.Review) (*models.Review, error) + type QueryResolver interface + Character func(ctx context.Context, id string) (models.Character, error) + Droid func(ctx context.Context, id string) (*models.Droid, error) + Hero func(ctx context.Context, episode *models.Episode) (models.Character, error) + Human func(ctx context.Context, id string) (*models.Human, error) + Reviews func(ctx context.Context, episode models.Episode, since *time.Time) ([]*models.Review, error) + Search func(ctx context.Context, text string) ([]models.SearchResult, error) + Starship func(ctx context.Context, id string) (*models.Starship, error) + type ResolverRoot interface + Droid func() DroidResolver + FriendsConnection func() FriendsConnectionResolver + Human func() HumanResolver + Mutation func() MutationResolver + Query func() QueryResolver + Starship func() StarshipResolver + type StarshipResolver interface + Length func(ctx context.Context, obj *models.Starship, unit *models.LengthUnit) (float64, error)