()
| 65 | ) |
| 66 | |
| 67 | func (m MigrateState) String() string { |
| 68 | switch m { |
| 69 | case MigrateStateInit: |
| 70 | return "MIGRATE_STATE_INIT" |
| 71 | case MigrateStateSync: |
| 72 | return "MIGRATE_STATE_SYNC" |
| 73 | case MigrateStateComplete: |
| 74 | return "MIGRATE_STATE_COMPLETE" |
| 75 | default: |
| 76 | return fmt.Sprintf("%d", int(m)) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | // --------------------------------------------- |
| 81 |
nothing calls this directly
no outgoing calls
no test coverage detected