-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuiltinfunc_string.go
More file actions
28 lines (22 loc) · 846 Bytes
/
builtinfunc_string.go
File metadata and controls
28 lines (22 loc) · 846 Bytes
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
// Code generated by "stringer -type builtinfunc builtinfunc.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[builtinfuncInt-1]
_ = x[builtinfuncPtrItem-2]
_ = x[builtinfuncItem-3]
_ = x[builtinfuncInterface-4]
_ = x[builtinfuncVoid-5]
}
const _builtinfunc_name = "builtinfuncIntbuiltinfuncPtrItembuiltinfuncItembuiltinfuncInterfacebuiltinfuncVoid"
var _builtinfunc_index = [...]uint8{0, 14, 32, 47, 67, 82}
func (i builtinfunc) String() string {
i -= 1
if i >= builtinfunc(len(_builtinfunc_index)-1) {
return "builtinfunc(" + strconv.FormatInt(int64(i+1), 10) + ")"
}
return _builtinfunc_name[_builtinfunc_index[i]:_builtinfunc_index[i+1]]
}