mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-06 15:10:59 +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:
@@ -62,7 +62,7 @@ type CommunicationsConfig struct {
|
||||
TelegramConfig TelegramConfig `json:"telegram"`
|
||||
}
|
||||
|
||||
// IsAnyEnabled returns whether or any any comms relayers
|
||||
// IsAnyEnabled returns whether any comms relayers
|
||||
// are enabled
|
||||
func (c *CommunicationsConfig) IsAnyEnabled() bool {
|
||||
if c.SMSGlobalConfig.Enabled ||
|
||||
|
||||
@@ -33,7 +33,7 @@ type SMSGlobal struct {
|
||||
}
|
||||
|
||||
// Setup takes in a SMSGlobal configuration, sets username, password and
|
||||
// and recipient list
|
||||
// recipient list
|
||||
func (s *SMSGlobal) Setup(cfg *base.CommunicationsConfig) {
|
||||
s.Name = cfg.SMSGlobalConfig.Name
|
||||
s.Enabled = cfg.SMSGlobalConfig.Enabled
|
||||
|
||||
Reference in New Issue
Block a user