Versions in this module Expand all Collapse all v0 v0.2.0 Aug 23, 2018 v0.1.0 Aug 22, 2018 Changes in this version + func NonNullable(m *method) + type Connection struct + Edges []Edge + PageInfo PageInfo + TotalCount int64 + type ConnectionArgs struct + After *string + Args interface{} + Before *string + First *int64 + Last *int64 + type Edge struct + Cursor string + Node interface{} + func EdgesToReturn(allEdges []Edge, before *string, after *string, first *int64, last *int64) ([]Edge, bool, bool, error) + type EnumMapping struct + Map map[string]interface{} + ReverseMap map[interface{}]string + type FieldFuncOption func(*method) + type Methods map[string]*method + type Object struct + Description string + Methods Methods + Name string + Type interface{} + func (o *Object) PaginateFieldFunc(name string, f interface{}) + func (s *Object) FieldFunc(name string, f interface{}, options ...FieldFuncOption) + func (s *Object) Key(f string) + type PageInfo struct + EndCursor string + HasNextPage bool + HasPrevPage bool + Pages []string + StartCursor string + type PaginationArgs struct + After *string + Before *string + First *int64 + Last *int64 + type PaginationInfo struct + HasNextPage bool + HasPrevPage bool + TotalCount func() int64 + type Schema struct + func NewSchema() *Schema + func (s *Schema) Build() (*graphql.Schema, error) + func (s *Schema) Enum(val interface{}, enumMap interface{}) + func (s *Schema) MustBuild() *graphql.Schema + func (s *Schema) Mutation() *Object + func (s *Schema) Object(name string, typ interface{}) *Object + func (s *Schema) Query() *Object + type Union struct