gographql/queries/queries.go

13 lines
208 B
Go

package queries
import (
"github.com/graphql-go/graphql"
)
// GetRootFields returns all the available queries.
func GetRootFields() graphql.Fields {
return graphql.Fields{
"users": GetUserQuery(),
}
}