1 Star 0 Fork 0

麦冬果果/graphql-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
source.go 225 Bytes
一键复制 编辑 原始数据 按行查看 历史
package source
const (
name = "GraphQL"
)
type Source struct {
Body []byte
Name string
}
func NewSource(s *Source) *Source {
if s == nil {
s = &Source{Name: name}
}
if s.Name == "" {
s.Name = name
}
return s
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mdgg0816/graphql-go.git
git@gitee.com:mdgg0816/graphql-go.git
mdgg0816
graphql-go
graphql-go
v0.7.5

搜索帮助