Closed Adam724 closed 5 months ago
Fixing logic for Golang omitEmpty option. The tag should only be added when the flag is set and the field is optional. Presently, if flag is set, it will be added regardless.
omitEmpty
Fixing logic for Golang
omitEmpty
option. The tag should only be added when the flag is set and the field is optional. Presently, if flag is set, it will be added regardless.