Skip to content

Commit

Permalink
style: remove tag's verbose space
Browse files Browse the repository at this point in the history
  • Loading branch information
tr1v3r committed Apr 18, 2022
1 parent 2492f01 commit 5028f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/model/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (m *Field) Tags() string {
if newTag := strings.TrimSpace(m.NewTag); newTag != "" {
tags.WriteString(newTag)
}
return tags.String()
return strings.TrimSpace(tags.String())
}

func (m *Field) IsRelation() bool { return m.Relation != nil }
Expand Down

0 comments on commit 5028f7e

Please sign in to comment.