Doc comments

This commit is contained in:
Ben Kraft
2020-03-27 17:44:30 -07:00
parent c536227d32
commit 01b903b053
5 changed files with 41 additions and 19 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
{{range .Operations}}
type {{.ResponseName}} = {{.ResponseType}}
// {{.Doc}}
{{.Doc}}
func {{.Name}}(ctx context.Context, client *graphql.Client{{range .Args}}, {{.GoName}} {{.GoType}}{{end}}) (*{{.ResponseName}}, error) {
{{- if .Args -}}
variables := map[string]interface{}{