graphql:Go的简单底层GraphQL HTTP客户端 源码

上传:snail2361 浏览: 29 推荐: 0 文件:ZIP 大小:10.9KB 上传时间:2021-02-18 01:10:58 版权申诉
图 Go的低级GraphQL客户端。 简单,熟悉的API 尊重上下文, context.Context超时和取消 生成并执行任何种类的GraphQL请求 使用强Go类型的响应数据 使用变量并上传文件 简单的错误处理 安装 确保您具有可运行的Go环境。 要安装graphql,只需运行: $ go get github.com/machinebox/graphql 用法 import "context" // create a client (safe to share across requests) client := graphql . NewClient ( "https://ma
上传资源
用户评论