blob: 6fb88e1a4bd7b1856c8e264291724345713ac8e5 (
plain)
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
|
// Code generated by "stringer -linecomment -type=AvStringType"; DO NOT EDIT.
package cpe
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[AnyString-0]
_ = x[NaString-1]
_ = x[ValString-2]
}
const _AvStringType_name = "anynaval"
var _AvStringType_index = [...]uint8{0, 3, 5, 8}
func (i AvStringType) String() string {
if i >= AvStringType(len(_AvStringType_index)-1) {
return "AvStringType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _AvStringType_name[_AvStringType_index[i]:_AvStringType_index[i+1]]
}
|