Versions in this module Expand all Collapse all v0 v0.4.4 Aug 17, 2018 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + func UnmarshalDateFilter(v interface{}) (models.DateFilter, error) + type Config struct + Directives DirectiveRoot + Resolvers ResolverRoot + type CustomError struct + InternalError string + UserMessage string + func (e *CustomError) Error() string + type DirectiveRoot struct + type ElementResolver interface + Child func(ctx context.Context, obj *models.Element) (models.Element, error) + Error func(ctx context.Context, obj *models.Element) (bool, error) + Mismatched func(ctx context.Context, obj *models.Element) ([]bool, error) + type QueryResolver interface + Date func(ctx context.Context, filter models.DateFilter) (bool, error) + Error func(ctx context.Context, typeArg models.ErrorType) (bool, error) + JSONEncoding func(ctx context.Context) (string, error) + Path func(ctx context.Context) ([]*models.Element, error) + Viewer func(ctx context.Context) (*models.Viewer, error) + type Resolver struct + func (r *Resolver) Element() ElementResolver + func (r *Resolver) Query() QueryResolver + func (r *Resolver) User() UserResolver + type ResolverRoot interface + Element func() ElementResolver + Query func() QueryResolver + User func() UserResolver + type UserResolver interface + Likes func(ctx context.Context, obj *remote_api.User) ([]string, error)