Questions tagged [graphql-go]

github.com/graphql-go/graphql is a Go package that provides an implementation of GraphQL. Use this tag together with [go] and other tags about the web frameworks, if any, that you use graphql-go with.

The graphql-go repository is located at: https://github.com/graphql-go/graphql

34 questions
0
votes
1 answer

GoLang GraphQL display EOF

Im trying to made a simple GO Server that run with GraphQL and connects with PostgreSQL, the compilation and execution of the files goes well, and the connection to the database also goes well, but when i try to retrieve all the users in the DB, i…
Luis Cardoza Bird
  • 1,265
  • 4
  • 24
  • 43
0
votes
0 answers

Does GraphQL-go support upload file?

As the title, does GraphQL-go support upload files? Or I must create an endpoint besides my GraphQL-endpoint to POST files?
khue bui
  • 1,366
  • 3
  • 22
  • 30
0
votes
1 answer

Resolving list field in GraphQL without struct

I have this GraphQL type: type User { id: String name: String } defined by var UserObject = graphql.NewObject(graphql.ObjectConfig{ Name: "User", Fields: graphql.Fields{ "id": &graphql.Field{ Type:…
Héctor
  • 24,444
  • 35
  • 132
  • 243
-2
votes
1 answer

Run multiple queries(SELECT * from emp; Select * from adm;) for postgres and get result in a two different struct IN GO(GOLANG)

I am using Go 1.13 Postgres 11 and GraphQL I am trying to run three different queries: 1. To get details of few employees when some condition is true. 2. To get all details of all employees. 3. To get all details of an employee when matches the…
Prem Prakash
  • 90
  • 1
  • 10
1 2
3