1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
// Code generated by "stringer --type=Type"; DO NOT EDIT
package mmvdump
import "fmt"
const (
_Type_name_0 = "NoSupportTypeInt32TypeUint32TypeInt64TypeUint64TypeFloatTypeDoubleTypeStringType"
_Type_name_1 = "UnknownType"
)
var (
_Type_index_0 = [...]uint8{0, 13, 22, 32, 41, 51, 60, 70, 80}
_Type_index_1 = [...]uint8{0, 11}
)
func (i Type) String() string {
switch {
case -1 <= i && i <= 6:
i -= -1
return _Type_name_0[_Type_index_0[i]:_Type_index_0[i+1]]
case i == 255:
return _Type_name_1
default:
return fmt.Sprintf("Type(%d)", i)
}
}
|