2019-04-04 22:56:53 +03:00
|
|
|
// 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]
|
2019-06-29 01:19:21 +03:00
|
|
|
_ = x[EventRoutineError-3]
|
2019-04-04 22:56:53 +03:00
|
|
|
_ = x[EventAppStop-4]
|
|
|
|
_ = x[EventAppComplete-5]
|
2019-06-29 01:19:21 +03:00
|
|
|
_ = x[EventAppError-6]
|
2019-04-04 22:56:53 +03:00
|
|
|
}
|
|
|
|
|
2019-06-29 01:19:21 +03:00
|
|
|
const _Event_name = "EventRoutineStartEventRoutineStopEventRoutineCompleteEventRoutineErrorEventAppStopEventAppCompleteEventAppError"
|
2019-04-04 22:56:53 +03:00
|
|
|
|
2019-06-29 01:19:21 +03:00
|
|
|
var _Event_index = [...]uint8{0, 17, 33, 53, 70, 82, 98, 111}
|
2019-04-04 22:56:53 +03:00
|
|
|
|
|
|
|
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]]
|
|
|
|
}
|