Documentation ¶
Index ¶
Constants ¶
View Source
const ( INPUT typeCategory = iota OUTPUT typeCategory = iota )
View Source
const ( QUERY_PREFIX = "Query" MUTATION_PREFIX = "Mutation" SUBSCRIPTION_PREFIX = "Subscription" )
View Source
const TAG_KEY = "graphqlgo"
Variables ¶
View Source
var CustomInObjects = make(map[reflect.Type]*graphql.InputObject)
Functions ¶
func GetSchema ¶
func GetSchema(props SchemaConfig) *graphql.Schema
Types ¶
type SchemaConfig ¶
type SchemaConfig struct {
Resolvers []interface{}
}
Click to show internal directories.
Click to hide internal directories.