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:
Adrian Gallagher
2023-02-03 15:56:59 +11:00
committed by GitHub
parent b384991183
commit 7e08e483fb
39 changed files with 71 additions and 71 deletions

View File

@@ -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

View File

@@ -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"`