changes suggested by Huan du (just minor fix on tests)

This commit is contained in:
Lluis Toyos
2020-10-29 17:57:52 +01:00
parent 840ad7d339
commit edc8d5dfb6
+1 -1
View File
@@ -685,7 +685,7 @@ type structOmitEmptyForMultipleTags struct {
A int `db:"aa" fieldopt:"omitempty, omitempty(patch,patch2),withquote" fieldtag:"patch,patch2"`
B *string `db:"bb" fieldopt:"omitempty" fieldtag:"patch"`
C uint16 `db:"cc" fieldopt:"omitempty, omitempty(patch2)" fieldtag:"patch2"`
D *float64 `fieldopt:"omitempty(patch)" fieldtag:"patch"`
D *float64 `fieldopt:"omitempty(patch,patch2)" fieldtag:"patch,patch2"`
E bool `db:"ee" fieldtag:"patch"`
}