Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added IsZero(), alias of IsNil() #90

Merged
merged 2 commits into from Oct 27, 2022
Merged

Added IsZero(), alias of IsNil() #90

merged 2 commits into from Oct 27, 2022

Conversation

Webbmekanikern
Copy link
Contributor

Some libraries (e.g. JSON marshalers together with omitempty struct flags) support IsZero() for skipping empty values.

Some libraries (e.g. JSON marshalers together with `omitempty` struct flags) supports `IsZero()` for skipping empty values.
@rs rs merged commit e6fb919 into rs:master Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants