File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1163,7 +1163,7 @@ func (e *{{.Name}}) Scan(src interface{}) error {
1163
1163
{{if .Comment}}{{comment .Comment}}{{end}}
1164
1164
type {{.Name}} struct { {{- range .Fields}}
1165
1165
{{- if .Comment}}
1166
- // {{ .Comment}}{{else}}
1166
+ {{comment .Comment}}{{else}}
1167
1167
{{- end}}
1168
1168
{{.Name}} {{.Type}} {{if $.EmitJSONTags}}{{$.Q}}{{.Tag}}{{$.Q}}{{end}}
1169
1169
{{- end}}
Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ enum class {{.Name}}(val value: String) {
824
824
data class {{.Name}} ( {{- range $i, $e := .Fields}}
825
825
{{- if $i }},{{end}}
826
826
{{- if .Comment}}
827
- // {{ .Comment}}{{else}}
827
+ {{comment .Comment}}{{else}}
828
828
{{- end}}
829
829
val {{.Name}}: {{.Type}}
830
830
{{- end}}
You can’t perform that action at this time.
0 commit comments