ethergo/submitter/submissionstate_string.go
// Code generated by "stringer -type=SubmissionState -linecomment"; DO NOT EDIT.
package submitter
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[NotFound-0]
_ = x[Pending-1]
_ = x[Confirming-2]
_ = x[Confirmed-3]
}
const _SubmissionState_name = "NotFoundpendingconfirmingconfirmed"
var _SubmissionState_index = [...]uint8{0, 8, 15, 25, 34}
func (i SubmissionState) String() string {
if i >= SubmissionState(len(_SubmissionState_index)-1) {
return "SubmissionState(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _SubmissionState_name[_SubmissionState_index[i]:_SubmissionState_index[i+1]]
}