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 {
11631163{{if .Comment}}{{comment .Comment}}{{end}}
11641164type {{.Name}} struct { {{- range .Fields}}
11651165 {{- if .Comment}}
1166- // {{ .Comment}}{{else}}
1166+ {{comment .Comment}}{{else}}
11671167 {{- end}}
11681168 {{.Name}} {{.Type}} {{if $.EmitJSONTags}}{{$.Q}}{{.Tag}}{{$.Q}}{{end}}
11691169 {{- end}}
Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ enum class {{.Name}}(val value: String) {
824824data class {{.Name}} ( {{- range $i, $e := .Fields}}
825825 {{- if $i }},{{end}}
826826 {{- if .Comment}}
827- // {{ .Comment}}{{else}}
827+ {{comment .Comment}}{{else}}
828828 {{- end}}
829829 val {{.Name}}: {{.Type}}
830830 {{- end}}
You can’t perform that action at this time.
0 commit comments