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

Treating default (zero) as falsy values #42

Closed
arjunmayilvaganan opened this issue May 18, 2020 · 2 comments
Closed

Treating default (zero) as falsy values #42

arjunmayilvaganan opened this issue May 18, 2020 · 2 comments

Comments

@arjunmayilvaganan
Copy link

Is the below the expected behaviour?
https://play.golang.org/p/FcnoGnJlwLv

I saw #33 and it makes me think otherwise

@cbroglie
Copy link
Owner

I think your example is using an older version of the library b/c I hadn't tagged a release since #33 was merged. I've now tagged v1.1.0; with that version you should see the expected behavior.

@arjunmayilvaganan
Copy link
Author

Thank you so much, Broglie.

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