Source File
roundingmode_string.go
Belonging Package
golang.org/x/text/internal/number
// Code generated by "stringer -type RoundingMode"; DO NOT EDIT.package numberimportfunc _() {// An "invalid array index" compiler error signifies that the constant values have changed.// Re-run the stringer command to generate them again.var [1]struct{}_ = [ToNearestEven-0]_ = [ToNearestZero-1]_ = [ToNearestAway-2]_ = [ToPositiveInf-3]_ = [ToNegativeInf-4]_ = [ToZero-5]_ = [AwayFromZero-6]_ = [numModes-7]}const _RoundingMode_name = "ToNearestEvenToNearestZeroToNearestAwayToPositiveInfToNegativeInfToZeroAwayFromZeronumModes"var _RoundingMode_index = [...]uint8{0, 13, 26, 39, 52, 65, 71, 83, 91}func ( RoundingMode) () string {if >= RoundingMode(len(_RoundingMode_index)-1) {return "RoundingMode(" + strconv.FormatInt(int64(), 10) + ")"}return _RoundingMode_name[_RoundingMode_index[]:_RoundingMode_index[+1]]}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |