Registry / http-client / shurcool-graphql

shurcool-graphql

JSON →
library0.0.0-20240915155400-7ee5256398cfgogounverified

A GraphQL client implementation for Go.

go get github.com/shurcooL/graphql
INSTALL
IMPORT
SIG · SHURCOOL-GRAPHQL
S
shurcool-graphql
http-clientgov0.0.0-20240915155400-7ee5256398cf
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

graphql
github.com/shurcooL/graphql

Execute a simple GraphQL query.

package main import ( "context" "fmt" "github.com/shurcooL/graphql" ) func main() { client := graphql.NewClient("https://example.com/graphql", nil) var query struct { User struct { Name string } } err := client.Query(context.Background(), &query, nil) fmt.Println(err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20240915155400-7ee5256398cflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Amazon
1
Resources
shurcool-graphql — go get shurcool-graphql · libregistry