Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeExecutableSchema ¶
func MakeExecutableSchema(resolvers Resolvers) graphql.ExecutableSchema
func UnmarshalDateFilter ¶
func UnmarshalDateFilter(v interface{}) (models.DateFilter, error)
Types ¶
type Resolvers ¶
type Resolvers interface { Element_child(ctx context.Context, obj *Element) (Element, error) Element_error(ctx context.Context, obj *Element) (bool, error) Query_path(ctx context.Context) ([]Element, error) Query_date(ctx context.Context, filter models.DateFilter) (bool, error) Query_viewer(ctx context.Context) (*Viewer, error) Query_jsonEncoding(ctx context.Context) (string, error) }
type Viewer ¶
type Viewer struct {
User *remote_api.User
}
Click to show internal directories.
Click to hide internal directories.