Closed jurgen-weber-deltatre closed 2 years ago
The query struct fields likely need to be exported (that is, begin with an upper-case letter) to be writeable by the githubv4 package. Does it help if you try that?
type LoopStruct struct {
Author struct {
- login string
+ Login string
}
- baseRefOid string
+ BaseRefOid string
...
wow, just wow... So simple and amazing.
Thank you very much, worked.
Apologies in advanced, golang noob and graphql super noob. I am attempting to get working the following query:
https://gist.github.com/mccutchen/9a0530a440470b4dee57c53284a18b52#file-query-pull-request-by-ref-graphql
Here is the struct and code I have:
error
any assistance appreciated. :)