-
Notifications
You must be signed in to change notification settings - Fork 8
/
result_string.go
51 lines (42 loc) · 1.6 KB
/
result_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
// Code generated by "stringer -type=MessageCode,MessagePriority -linecomment -output=result_string.go"; DO NOT EDIT.
package querylegacy
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[emptyMessageCode-0]
_ = x[VirtualFieldFinalizeError-1]
_ = x[MissingColumn-2]
_ = x[LicenseLimitForQueryWarning-3]
_ = x[DefaultLimitWarning-4]
_ = x[CompilerWarning-5]
}
const _MessageCode_name = "virtual_field_finalize_errormissing_columnlicense_limit_for_query_warningdefault_limit_warningapl_"
var _MessageCode_index = [...]uint8{0, 0, 28, 42, 73, 94, 98}
func (i MessageCode) String() string {
if i >= MessageCode(len(_MessageCode_index)-1) {
return "MessageCode(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _MessageCode_name[_MessageCode_index[i]:_MessageCode_index[i+1]]
}
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[emptyMessagePriority-0]
_ = x[Trace-1]
_ = x[Debug-2]
_ = x[Info-3]
_ = x[Warn-4]
_ = x[Error-5]
_ = x[Fatal-6]
}
const _MessagePriority_name = "tracedebuginfowarnerrorfatal"
var _MessagePriority_index = [...]uint8{0, 0, 5, 10, 14, 18, 23, 28}
func (i MessagePriority) String() string {
if i >= MessagePriority(len(_MessagePriority_index)-1) {
return "MessagePriority(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _MessagePriority_name[_MessagePriority_index[i]:_MessagePriority_index[i+1]]
}