Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var User = graphql.NewObject( graphql.ObjectConfig{ Name: "User", Fields: graphql.Fields{ "id": &graphql.Field{ Type: graphql.Int, }, "name": &graphql.Field{ Type: graphql.String, }, "age": &graphql.Field{ Type: graphql.Int, }, }, }, )
User describes a graphql object containing a User
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.