Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. rootQuery := graphql.NewObject(graphql.ObjectConfig{
  2. Name: "Query",
  3. Fields: graphql.Fields{
  4. "songs": &graphql.Field{
  5. Type: graphql.NewList(songType),
  6. Resolve: func(params graphql.ResolveParams) (interface{}, error) {
  7. return nil, nil
  8. },
  9. },
  10. },
  11. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement