27 lines
494 B
Go
27 lines
494 B
Go
// Code generated by "stringer -type EachMode"; DO NOT EDIT.
|
|
|
|
package states
|
|
|
|
import "strconv"
|
|
|
|
const (
|
|
_EachMode_name_0 = "NoEach"
|
|
_EachMode_name_1 = "EachListEachMap"
|
|
)
|
|
|
|
var (
|
|
_EachMode_index_1 = [...]uint8{0, 8, 15}
|
|
)
|
|
|
|
func (i EachMode) String() string {
|
|
switch {
|
|
case i == 0:
|
|
return _EachMode_name_0
|
|
case 76 <= i && i <= 77:
|
|
i -= 76
|
|
return _EachMode_name_1[_EachMode_index_1[i]:_EachMode_index_1[i+1]]
|
|
default:
|
|
return "EachMode(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
}
|