-
Notifications
You must be signed in to change notification settings - Fork 1
/
what_string.go
42 lines (36 loc) · 1.03 KB
/
what_string.go
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Code generated by "stringer -type=What"; DO NOT EDIT.
package what
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[Update-1]
_ = x[Reload-2]
_ = x[Redirect-3]
_ = x[Alert-4]
_ = x[Order-5]
_ = x[Inner-6]
_ = x[Delete-7]
_ = x[Replace-8]
_ = x[Remove-9]
_ = x[Insert-10]
_ = x[Append-11]
_ = x[SAttr-12]
_ = x[RAttr-13]
_ = x[SClass-14]
_ = x[RClass-15]
_ = x[Value-16]
_ = x[Input-17]
_ = x[Click-18]
_ = x[Hook-19]
}
const _What_name = "invalidUpdateReloadRedirectAlertOrderInnerDeleteReplaceRemoveInsertAppendSAttrRAttrSClassRClassValueInputClickHook"
var _What_index = [...]uint8{0, 7, 13, 19, 27, 32, 37, 42, 48, 55, 61, 67, 73, 78, 83, 89, 95, 100, 105, 110, 114}
func (i What) String() string {
if i >= What(len(_What_index)-1) {
return "What(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _What_name[_What_index[i]:_What_index[i+1]]
}