2020-05-14 01:06:03 +02:00
|
|
|
// Code generated by "stringer -type=Type"; DO NOT EDIT.
|
|
|
|
|
2020-08-18 05:25:03 +02:00
|
|
|
package label
|
2020-05-14 01:06:03 +02:00
|
|
|
|
|
|
|
import "strconv"
|
|
|
|
|
|
|
|
func _() {
|
|
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
|
|
// Re-run the stringer command to generate them again.
|
|
|
|
var x [1]struct{}
|
|
|
|
_ = x[INVALID-0]
|
|
|
|
_ = x[BOOL-1]
|
|
|
|
_ = x[INT32-2]
|
|
|
|
_ = x[INT64-3]
|
|
|
|
_ = x[UINT32-4]
|
|
|
|
_ = x[UINT64-5]
|
|
|
|
_ = x[FLOAT32-6]
|
|
|
|
_ = x[FLOAT64-7]
|
|
|
|
_ = x[STRING-8]
|
2020-06-25 00:58:08 +02:00
|
|
|
_ = x[ARRAY-9]
|
2020-05-14 01:06:03 +02:00
|
|
|
}
|
|
|
|
|
2020-06-25 00:58:08 +02:00
|
|
|
const _Type_name = "INVALIDBOOLINT32INT64UINT32UINT64FLOAT32FLOAT64STRINGARRAY"
|
2020-05-14 01:06:03 +02:00
|
|
|
|
2020-06-25 00:58:08 +02:00
|
|
|
var _Type_index = [...]uint8{0, 7, 11, 16, 21, 27, 33, 40, 47, 53, 58}
|
2020-05-14 01:06:03 +02:00
|
|
|
|
|
|
|
func (i Type) String() string {
|
|
|
|
if i < 0 || i >= Type(len(_Type_index)-1) {
|
|
|
|
return "Type(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
|
|
}
|
|
|
|
return _Type_name[_Type_index[i]:_Type_index[i+1]]
|
|
|
|
}
|