aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/99designs/gqlgen/plugin
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-08-17 00:48:08 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-08-17 00:48:08 +0200
commitd571deef57b682f92e71f9374c2c59893db811af (patch)
treeb17be26cfd358b1518010c9d7073fdbf0caa1561 /vendor/github.com/99designs/gqlgen/plugin
parenta89355e7fbcaaa5efb07d43c1f19a4be2e2c1537 (diff)
downloadgit-bug-d571deef57b682f92e71f9374c2c59893db811af.tar.gz
vendor: upgrade github.com/99designs/gqlgen to v0.9.2
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}}