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

Unset() #42

Open
amery opened this issue Mar 20, 2023 · 1 comment
Open

Unset() #42

amery opened this issue Mar 20, 2023 · 1 comment

Comments

@amery
Copy link

amery commented Mar 20, 2023

hi, could you consider implementing an Unset() to zero fields at their default value so they can then be omitted when marshalling?

@creasty
Copy link
Owner

creasty commented Apr 13, 2023

Interesting idea

zonewave added a commit to zonewave/defaults that referenced this issue Apr 17, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 17, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 17, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 17, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 20, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 20, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 20, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 20, 2023
zonewave added a commit to zonewave/defaults that referenced this issue Apr 20, 2023
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

No branches or pull requests

2 participants