-
-
Notifications
You must be signed in to change notification settings - Fork 278
/
withdrawstatus_string.go
29 lines (23 loc) · 1.04 KB
/
withdrawstatus_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
// Code generated by "stringer -type=WithdrawStatus"; DO NOT EDIT.
package binanceapi
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[WithdrawStatusEmailSent-0]
_ = x[WithdrawStatusCancelled-1]
_ = x[WithdrawStatusAwaitingApproval-2]
_ = x[WithdrawStatusRejected-3]
_ = x[WithdrawStatusProcessing-4]
_ = x[WithdrawStatusFailure-5]
_ = x[WithdrawStatusCompleted-6]
}
const _WithdrawStatus_name = "WithdrawStatusEmailSentWithdrawStatusCancelledWithdrawStatusAwaitingApprovalWithdrawStatusRejectedWithdrawStatusProcessingWithdrawStatusFailureWithdrawStatusCompleted"
var _WithdrawStatus_index = [...]uint8{0, 23, 46, 76, 98, 122, 143, 166}
func (i WithdrawStatus) String() string {
if i < 0 || i >= WithdrawStatus(len(_WithdrawStatus_index)-1) {
return "WithdrawStatus(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _WithdrawStatus_name[_WithdrawStatus_index[i]:_WithdrawStatus_index[i+1]]
}