mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
30 lines
990 B
Go
30 lines
990 B
Go
// Code generated by "stringer -type=WithdrawStatus -trimprefix=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 = "EmailSentCancelledAwaitingApprovalRejectedProcessingFailureCompleted"
|
|
|
|
var _WithdrawStatus_index = [...]uint8{0, 9, 18, 34, 42, 52, 59, 68}
|
|
|
|
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]]
|
|
}
|