diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2020-01-12 16:40:01 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2020-01-12 16:40:01 +0300 |
commit | 837cfe3223db11bf7f5edb6ba738d3e328b80ea2 (patch) | |
tree | 8207e53a6411ea5cd9f1da96f0de9d957c7301f2 /event_string.go | |
parent | 01eeeaf5e136928abe75f95d58f3f9cce11c6fe6 (diff) |
Refactored
New clean API
Timeouts and restart limits
Diffstat (limited to 'event_string.go')
-rw-r--r-- | event_string.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/event_string.go b/event_string.go deleted file mode 100644 index 6501cad..0000000 --- a/event_string.go +++ /dev/null @@ -1,29 +0,0 @@ -// 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]] -} |