Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fields = graphql.Fields{ "home": &graphql.Field{ Type: graphql.String, Resolve: func(p graphql.ResolveParams) (interface{}, error) { return controller.Home() }, }, "saveData": &graphql.Field{ Type: graphql.String, Resolve: func(p graphql.ResolveParams) (interface{}, error) { return controller.SaveData() }, }, }
Fields are the graphql url targets
View Source
var Schema, _ = graphql.NewSchema(schemaConfig)
Schema is the params schema
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.