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

inline math.MaxInt constants (go 1.13 compatibility) #1585

Merged
merged 1 commit into from
Sep 12, 2021
Merged

inline math.MaxInt constants (go 1.13 compatibility) #1585

merged 1 commit into from
Sep 12, 2021

Commits on Sep 9, 2021

  1. replace math.MaxInt usage

    This constant is only available in go >= 1.17, so I've inlined its value
    so dependents don't have to upgrade their go version.
    
    reference implementation: https://cs.opensource.google/go/go/+/refs/tags/go1.17:src/math/const.go;l=38
    David Zukowski committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    6a927be View commit details
    Browse the repository at this point in the history