blob: 6501cadca9280a23f94cbd05bd3212a49dc2f414 (
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
25
26
27
28
29
|
// Code generated by "stringer -type=Event"; DO NOT EDIT.
package rutina
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[EventRoutineStart-0]
_ = x[EventRoutineStop-1]
_ = x[EventRoutineComplete-2]
_ = x[EventRoutineError-3]
_ = x[EventAppStop-4]
_ = x[EventAppComplete-5]
_ = x[EventAppError-6]
}
const _Event_name = "EventRoutineStartEventRoutineStopEventRoutineCompleteEventRoutineErrorEventAppStopEventAppCompleteEventAppError"
var _Event_index = [...]uint8{0, 17, 33, 53, 70, 82, 98, 111}
func (i Event) String() string {
if i < 0 || i >= Event(len(_Event_index)-1) {
return "Event(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Event_name[_Event_index[i]:_Event_index[i+1]]
}
|