We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ccf00c + 15d15d1 commit 35bb36bCopy full SHA for 35bb36b
templates/main/00_struct.go.tpl
@@ -7,11 +7,11 @@ type {{$alias.UpSingular}} struct {
7
{{- $colAlias := $alias.Column $column.Name -}}
8
{{- $orig_col_name := $column.Name -}}
9
{{- range $column.Comment | splitLines -}} // {{ . }}
10
- {{end -}}
+ {{ end -}}
11
12
{{if ignore $orig_tbl_name $orig_col_name $.TagIgnore -}}
13
{{$colAlias}} {{$column.Type}} `{{generateIgnoreTags $.Tags}}boil:"{{$column.Name}}" json:"-" toml:"-" yaml:"-"`
14
- {{- else -}}
+ {{ else -}}
15
16
{{- /* render column alias and column type */ -}}
17
{{ $colAlias }} {{ $column.Type -}}
0 commit comments