Skip to content

Commit

Permalink
sw: fix field name order
Browse files Browse the repository at this point in the history
  • Loading branch information
miku committed Jan 9, 2024
1 parent e2aa9d8 commit 6c3e1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ var (
}
// DefaultTextFieldNames list struct field names for chardata, most preferred first.
DefaultTextFieldNames = []string{
"Chardata",
"Text",
"Chardata",
}
// DefaultAttributePrefixes are used, if there are name clashes.
DefaultAttributePrefixes = []string{
Expand Down

0 comments on commit 6c3e1a9

Please sign in to comment.