17 lines
371 B
Go
17 lines
371 B
Go
// Code generated by "stringer -type=Result"; DO NOT EDIT.
|
|
|
|
package common
|
|
|
|
import "fmt"
|
|
|
|
const _Result_name = "UnknownOKDegradedFailed"
|
|
|
|
var _Result_index = [...]uint8{0, 7, 9, 17, 23}
|
|
|
|
func (i Result) String() string {
|
|
if i < 0 || i >= Result(len(_Result_index)-1) {
|
|
return fmt.Sprintf("Result(%d)", i)
|
|
}
|
|
return _Result_name[_Result_index[i]:_Result_index[i+1]]
|
|
}
|