mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-30 07:26:46 +00:00
CI: Bump go version, linters and fix minor issues (#1130)
* CI: Bump go version, linters and fix minor issues * Bump version, fix loop variables * Revert * Rid TODOs now that 1.51 has been released
This commit is contained in:
@@ -189,7 +189,7 @@ func (b *Bitmex) SendTrollboxMessage(ctx context.Context, params ChatSendParams)
|
||||
&messages)
|
||||
}
|
||||
|
||||
// GetTrollboxChannels the channels from the the bitmex trollbox
|
||||
// GetTrollboxChannels the channels from the bitmex trollbox
|
||||
func (b *Bitmex) GetTrollboxChannels(ctx context.Context) ([]ChatChannel, error) {
|
||||
var channels []ChatChannel
|
||||
|
||||
@@ -198,7 +198,7 @@ func (b *Bitmex) GetTrollboxChannels(ctx context.Context) ([]ChatChannel, error)
|
||||
&channels)
|
||||
}
|
||||
|
||||
// GetTrollboxConnectedUsers the channels from the the bitmex trollbox
|
||||
// GetTrollboxConnectedUsers the channels from the bitmex trollbox
|
||||
func (b *Bitmex) GetTrollboxConnectedUsers(ctx context.Context) (ConnectedUsers, error) {
|
||||
var users ConnectedUsers
|
||||
|
||||
|
||||
@@ -241,7 +241,7 @@ type IndexComposite struct {
|
||||
Weight float64 `json:"weight"`
|
||||
}
|
||||
|
||||
// Insurance Insurance Fund Data
|
||||
// Insurance stores insurance fund data
|
||||
type Insurance struct {
|
||||
Currency string `json:"currency"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
|
||||
Reference in New Issue
Block a user