2021-02-10 21:28:32 +00:00
|
|
|
// Code generated by "stringer -type=Type"; DO NOT EDIT.
|
|
|
|
|
2021-04-23 00:08:53 +00:00
|
|
|
package attribute
|
2021-02-10 21:28:32 +00: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]
|
2021-04-23 00:08:53 +00:00
|
|
|
_ = x[INT64-2]
|
|
|
|
_ = x[FLOAT64-3]
|
|
|
|
_ = x[STRING-4]
|
|
|
|
_ = x[ARRAY-5]
|
2021-02-10 21:28:32 +00:00
|
|
|
}
|
|
|
|
|
2021-04-23 00:08:53 +00:00
|
|
|
const _Type_name = "INVALIDBOOLINT64FLOAT64STRINGARRAY"
|
2021-02-10 21:28:32 +00:00
|
|
|
|
2021-04-23 00:08:53 +00:00
|
|
|
var _Type_index = [...]uint8{0, 7, 11, 16, 23, 29, 34}
|
2021-02-10 21:28:32 +00: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]]
|
|
|
|
}
|