blob: e99a8745e4b42f112ba78e9fe8e04ff6f62a81ca [file] [log] [blame]
Joey Armstronge8c091f2023-01-17 16:56:26 -05001// Code generated by "stringer -type=NumberKind"; DO NOT EDIT.
2
3package metric
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[Int64NumberKind-0]
12 _ = x[Float64NumberKind-1]
13}
14
15const _NumberKind_name = "Int64NumberKindFloat64NumberKind"
16
17var _NumberKind_index = [...]uint8{0, 15, 32}
18
19func (i NumberKind) String() string {
20 if i < 0 || i >= NumberKind(len(_NumberKind_index)-1) {
21 return "NumberKind(" + strconv.FormatInt(int64(i), 10) + ")"
22 }
23 return _NumberKind_name[_NumberKind_index[i]:_NumberKind_index[i+1]]
24}