mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
reformat go code
This commit is contained in:
parent
d53176acdf
commit
9f2b810fd3
|
@ -27,7 +27,7 @@ func (e *Exchange) QueryRewards(ctx context.Context, startTime time.Time) ([]typ
|
|||
case binanceapi.RebateTypeCommission:
|
||||
// use the default type
|
||||
}
|
||||
|
||||
|
||||
rewards = append(rewards, types.Reward{
|
||||
UUID: strconv.FormatInt(entry.UpdateTime.Time().UnixMilli(), 10),
|
||||
Exchange: types.ExchangeBinance,
|
||||
|
|
|
@ -10,13 +10,13 @@ import (
|
|||
type RewardType string
|
||||
|
||||
const (
|
||||
RewardAirdrop = RewardType("airdrop")
|
||||
RewardCommission = RewardType("commission")
|
||||
RewardAirdrop = RewardType("airdrop")
|
||||
RewardCommission = RewardType("commission")
|
||||
RewardReferralKickback = RewardType("referral_kickback")
|
||||
RewardHolding = RewardType("holding")
|
||||
RewardMining = RewardType("mining")
|
||||
RewardTrading = RewardType("trading")
|
||||
RewardVipRebate = RewardType("vip_rebate")
|
||||
RewardHolding = RewardType("holding")
|
||||
RewardMining = RewardType("mining")
|
||||
RewardTrading = RewardType("trading")
|
||||
RewardVipRebate = RewardType("vip_rebate")
|
||||
)
|
||||
|
||||
type Reward struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user