-
Notifications
You must be signed in to change notification settings - Fork 7
/
kind_string.go
56 lines (50 loc) · 1.47 KB
/
kind_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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Code generated by "stringer -type Kind kind.go"; DO NOT EDIT.
package gotype
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[predeclaredTypesBeg-1]
_ = x[Bool-2]
_ = x[Int-3]
_ = x[Int8-4]
_ = x[Int16-5]
_ = x[Int32-6]
_ = x[Int64-7]
_ = x[Uint-8]
_ = x[Uint8-9]
_ = x[Uint16-10]
_ = x[Uint32-11]
_ = x[Uint64-12]
_ = x[Uintptr-13]
_ = x[Float32-14]
_ = x[Float64-15]
_ = x[Complex64-16]
_ = x[Complex128-17]
_ = x[String-18]
_ = x[Byte-19]
_ = x[Rune-20]
_ = x[Error-21]
_ = x[predeclaredTypesEnd-22]
_ = x[Array-23]
_ = x[Chan-24]
_ = x[Func-25]
_ = x[Interface-26]
_ = x[Map-27]
_ = x[Ptr-28]
_ = x[Slice-29]
_ = x[Struct-30]
_ = x[Field-31]
_ = x[Scope-32]
_ = x[Declaration-33]
}
const _Kind_name = "InvalidpredeclaredTypesBegBoolIntInt8Int16Int32Int64UintUint8Uint16Uint32Uint64UintptrFloat32Float64Complex64Complex128StringByteRuneErrorpredeclaredTypesEndArrayChanFuncInterfaceMapPtrSliceStructFieldScopeDeclaration"
var _Kind_index = [...]uint8{0, 7, 26, 30, 33, 37, 42, 47, 52, 56, 61, 67, 73, 79, 86, 93, 100, 109, 119, 125, 129, 133, 138, 157, 162, 166, 170, 179, 182, 185, 190, 196, 201, 206, 217}
func (i Kind) String() string {
if i >= Kind(len(_Kind_index)-1) {
return "Kind(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Kind_name[_Kind_index[i]:_Kind_index[i+1]]
}