Skip to content

Commit ba08175

Browse files
authored
fix: struct tag formatting (#833)
1 parent b586858 commit ba08175

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

internal/codegen/golang/field.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ func (gf Field) Tag() string {
2222
return ""
2323
}
2424
sort.Strings(tags)
25-
return strings.Join(tags, ",")
25+
return strings.Join(tags, " ")
2626
}

internal/endtoend/testdata/emit_db_and_json_tags/go/models.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)