blob: 62afeb60af73bcac8aa7895baedd3f50d646a96a [file] [log] [blame]
Joey Armstrong5f51f2e2023-01-17 17:06:26 -05001// Code generated by "stringer -type=Type"; DO NOT EDIT.
2
3package label
4
5import "strconv"
6
7func _() {
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
10 var x [1]struct{}
11 _ = x[INVALID-0]
12 _ = x[BOOL-1]
13 _ = x[INT32-2]
14 _ = x[INT64-3]
15 _ = x[UINT32-4]
16 _ = x[UINT64-5]
17 _ = x[FLOAT32-6]
18 _ = x[FLOAT64-7]
19 _ = x[STRING-8]
20 _ = x[ARRAY-9]
21}
22
23const _Type_name = "INVALIDBOOLINT32INT64UINT32UINT64FLOAT32FLOAT64STRINGARRAY"
24
25var _Type_index = [...]uint8{0, 7, 11, 16, 21, 27, 33, 40, 47, 53, 58}
26
27func (i Type) String() string {
28 if i < 0 || i >= Type(len(_Type_index)-1) {
29 return "Type(" + strconv.FormatInt(int64(i), 10) + ")"
30 }
31 return _Type_name[_Type_index[i]:_Type_index[i+1]]
32}