entc/gen: fix small typo in ent.tmpl (#916)

Fixed a small typo
This commit is contained in:
Jannik C
2020-11-04 13:50:03 +01:00
committed by GitHub
parent 0faef7013d
commit 3fdff6b16f
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -162,5 +162,5 @@ func ({{ $receiver }} {{ $slice }}) config(cfg config) {
{{/* A template for omitting struct-tags. */}}
{{ define "model/omittags" }}{{ with $.TagTypes }}`{{ range $i, $t := . }}{{ if ne $i 0 }} {{ end }}{{ $t }}:"-"{{ end }}`{{ end }}{{ end }}
{{/* A template that can be overrided in order to add additional fields to the each type.*/}}
{{/* A template that can be overridden in order to add additional fields to the each type.*/}}
{{ define "model/fields/additional" }}{{end}}