Source File
accuracy_string.go
Belonging Package
math/big
// Code generated by "stringer -type=Accuracy"; DO NOT EDIT.
package big
import
func () {
// 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{}
_ = [Below - -1]
_ = [Exact-0]
_ = [Above-1]
}
const _Accuracy_name = "BelowExactAbove"
var _Accuracy_index = [...]uint8{0, 5, 10, 15}
func ( Accuracy) () string {
-= -1
if < 0 || >= Accuracy(len(_Accuracy_index)-1) {
return "Accuracy(" + strconv.FormatInt(int64(+-1), 10) + ")"
}
return _Accuracy_name[_Accuracy_index[]:_Accuracy_index[+1]]
}
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |