MCPcopy
hub / github.com/eatmoreapple/openwechat / String

Method String

stringer.go:85–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83)
84
85func (i Ret) String() string {
86 switch {
87 case i == -14:
88 return _Ret_name_0
89 case -2 <= i && i <= -1:
90 i -= -2
91 return _Ret_name_1[_Ret_index_1[i]:_Ret_index_1[i+1]]
92 case i == 1:
93 return _Ret_name_2
94 case 1100 <= i && i <= 1102:
95 i -= 1100
96 return _Ret_name_3[_Ret_index_3[i]:_Ret_index_3[i+1]]
97 case i == 1203:
98 return _Ret_name_4
99 case i == 1205:
100 return _Ret_name_5
101 default:
102 return "Ret(" + strconv.FormatInt(int64(i), 10) + ")"
103 }
104}
105func _() {
106 // An "invalid array index" compiler error signifies that the constant values have changed.
107 // Re-run the stringer command to generate them again.

Callers 1

ErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected