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

Use reflect.Value.IsZero #297

Merged
merged 1 commit into from Jun 6, 2022
Merged

Use reflect.Value.IsZero #297

merged 1 commit into from Jun 6, 2022

Commits on Jun 5, 2022

  1. Use reflect.Value.IsZero

    Now that Go 1.13 is the minimum version, we can use the reflect.Value.IsZero
    method instead of our own internal/value.IsZero function.
    Interestingly, our IsZero function pre-dates the IsZero method,
    but fortunately has the exact same semantics, since both are targetting
    semantics defined by the Go language specification.
    dsnet committed Jun 5, 2022
    Copy the full SHA
    c6923ff View commit details
    Browse the repository at this point in the history