1 Star 0 Fork 0

麦冬果果/graphql-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
types.go 298 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ilya 提交于 8年前 . Redundant parentheses
package graphql
import (
"github.com/graphql-go/graphql/gqlerrors"
)
// type Schema interface{}
type Result struct {
Data interface{} `json:"data"`
Errors []gqlerrors.FormattedError `json:"errors,omitempty"`
}
func (r *Result) HasErrors() bool {
return len(r.Errors) > 0
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mdgg0816/graphql-go.git
git@gitee.com:mdgg0816/graphql-go.git
mdgg0816
graphql-go
graphql-go
v0.7.6

搜索帮助