google / keep-sorted

keep-sorted is a language-agnostic formatter that sorts lines between two markers in a larger file.
Apache License 2.0
132 stars 15 forks source link

Stop panicking when trying to parse numbers bigger than 2^64. #13

Closed JeffFaer closed 11 months ago

JeffFaer commented 11 months ago

Before: panic: mixedNumberPattern yielded an unparseable int: strconv.ParseInt: parsing "99999999999999999999999999999999999999999999999": value out of range