gographql/queries/queries.go

13 lines
207 B
Go
Raw Normal View History

2019-07-24 16:52:09 +02:00
package queries
import (
"github.com/graphql-go/graphql"
)
// GetRootFields returns all the available queries.
func GetRootFields() graphql.Fields {
return graphql.Fields{
"user": GetUserQuery(),
}
}