bbgo_origin/pkg/exchange/binance/binanceapi/withdrawstatus_string.go

30 lines
1.0 KiB
Go
Raw Permalink Normal View History

// 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]]
}