16 lines
413 B
Go
16 lines
413 B
Go
// Code generated by "stringer -type=Phase"; DO NOT EDIT.
|
|
|
|
package optracker
|
|
|
|
import "strconv"
|
|
|
|
const _Phase_name = "PhaseErrorPhaseQueuedPhaseInProgressPhaseDone"
|
|
|
|
var _Phase_index = [...]uint8{0, 10, 21, 36, 45}
|
|
|
|
func (i Phase) String() string {
|
|
if i < 0 || i >= Phase(len(_Phase_index)-1) {
|
|
return "Phase(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Phase_name[_Phase_index[i]:_Phase_index[i+1]]
|
|
}
|