File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ type {{$alias.UpSingular}} struct {
2525 `
2626 {{- if eq $.StructTagCasing "alias" -}}
2727 {{- generateTags $.Tags $colAlias -}}
28+ {{- generateTagWithCase "boil" $column.Name $colAlias "alias" false -}}
2829 {{- generateTagWithCase "json" $column.Name $colAlias "alias" $column.Nullable -}}
29- {{- generateTagWithCase "yaml" $column.Name $colAlias "alias" $column.Nullable -}}
30- {{- generateTagWithCase "toml" $column.Name $colAlias "alias" $column.Nullable -}}
31- {{- generateTagWithCase "boil" $column.Name $colAlias "alias" $column.Nullable -}}
30+ {{- generateTagWithCase "toml" $column.Name $colAlias "alias" false -}}
31+ {{- trim (generateTagWithCase "yaml" $column.Name $colAlias "alias" $column.Nullable) -}}
3232 {{- else -}}
3333 {{- generateTags $.Tags $column.Name }}
34+ {{- generateTagWithCase "boil" $column.Name $colAlias $.StructTagCases.Boil false -}}
3435 {{- generateTagWithCase "json" $column.Name $colAlias $.StructTagCases.Json $column.Nullable -}}
35- {{- generateTagWithCase "yaml" $column.Name $colAlias $.StructTagCases.Yaml $column.Nullable -}}
36- {{- generateTagWithCase "toml" $column.Name $colAlias $.StructTagCases.Toml $column.Nullable -}}
37- {{- generateTagWithCase "boil" $column.Name $colAlias $.StructTagCases.Boil $column.Nullable -}}
36+ {{- generateTagWithCase "toml" $column.Name $colAlias $.StructTagCases.Toml false -}}
37+ {{- trim (generateTagWithCase "yaml" $column.Name $colAlias $.StructTagCases.Yaml $column.Nullable) -}}
3838 {{- end -}}
3939 `
4040 {{ end -}}
You can’t perform that action at this time.
0 commit comments