blob: ef37758589d02f36067d2027fde6512d5bce87b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Code generated by "stringer -type LightBank"; DO NOT EDIT.
package mt
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[Day-0]
_ = x[Night-1]
}
const _LightBank_name = "DayNight"
var _LightBank_index = [...]uint8{0, 3, 8}
func (i LightBank) String() string {
if i >= LightBank(len(_LightBank_index)-1) {
return "LightBank(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _LightBank_name[_LightBank_index[i]:_LightBank_index[i+1]]
}
|