aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/99designs/gqlgen/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/99designs/gqlgen/plugin')
-rw-r--r--vendor/github.com/99designs/gqlgen/plugin/modelgen/models.gotpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/99designs/gqlgen/plugin/modelgen/models.gotpl b/vendor/github.com/99designs/gqlgen/plugin/modelgen/models.gotpl
index 6df200ee..a4579f87 100644
--- a/vendor/github.com/99designs/gqlgen/plugin/modelgen/models.gotpl
+++ b/vendor/github.com/99designs/gqlgen/plugin/modelgen/models.gotpl
@@ -36,7 +36,7 @@
{{- end}}
{{ range $enum := .Enums }}
- {{ with .Description|go }} {{.|prefixLines "// "}} {{end}}
+ {{ with .Description }} {{.|prefixLines "// "}} {{end}}
type {{.Name|go }} string
const (
{{- range $value := .Values}}