go:generate stringer phase and operationtype
License: MIT Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
This commit is contained in:
parent
ff6e559744
commit
8748c45600
|
@ -4,9 +4,9 @@ package optracker
|
|||
|
||||
import "strconv"
|
||||
|
||||
const _OperationType_name = "OperationUnknownOperationPinOperationUnpin"
|
||||
const _OperationType_name = "OperationUnknownOperationPinOperationUnpinOperationRemoteOperationShard"
|
||||
|
||||
var _OperationType_index = [...]uint8{0, 16, 28, 42}
|
||||
var _OperationType_index = [...]uint8{0, 16, 28, 42, 57, 71}
|
||||
|
||||
func (i OperationType) String() string {
|
||||
if i < 0 || i >= OperationType(len(_OperationType_index)-1) {
|
||||
|
|
|
@ -4,9 +4,9 @@ package optracker
|
|||
|
||||
import "strconv"
|
||||
|
||||
const _Phase_name = "PhaseErrorPhaseQueuedPhaseInProgress"
|
||||
const _Phase_name = "PhaseErrorPhaseQueuedPhaseInProgressPhaseDone"
|
||||
|
||||
var _Phase_index = [...]uint8{0, 10, 21, 36}
|
||||
var _Phase_index = [...]uint8{0, 10, 21, 36, 45}
|
||||
|
||||
func (i Phase) String() string {
|
||||
if i < 0 || i >= Phase(len(_Phase_index)-1) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user