github.com/cstockton/Go-conv (go): Package conv provides fast and intuitive conversions across Go types.  All conversion functions accept any type of value for conversion, if unable to find a reasonable conversion path they will return the target types zero value and an error.   Numeric conversion from other numeric values of an identical type will be returned without modification. Numeric conversions deviate slightly from Go when dealing with under/over flow. When performing a conversion operation that would overflow, we instead assign the maximum value for the target type. Similarly, conversions that would underflow are assigned the minimun value for that type, meaning unsigned integers are given zero values instead of spilling into large positive integers.   In short, panics should not occur within this library under any circumstance. This obviously excludes any oddities that may surface when the runtime is not in a healthy state, i.e. uderlying system instability, memory exhaustion. If you are able to create a reproducible panic please file a bug report.
Keywords: conv|conversion|conversion-functions|strconv|string-conversion|time-conversion