CI: Bump go version, linters and fix minor issues (#1010)

* Bump golang, golangci-lint versions and fix issues

* Add -fno-stack-protector

* Fix AppVeyor golangci-lint ver

* Nitters

* Nitters round 2
This commit is contained in:
Adrian Gallagher
2022-08-17 11:37:22 +10:00
committed by GitHub
parent 0c9ad9eaa3
commit 68588560e3
85 changed files with 389 additions and 246 deletions

View File

@@ -23,7 +23,7 @@ var (
func TestMain(m *testing.M) {
for x := 0; x < 100; x++ {
v := rand.Float64() // nolint:gosec // no need to import crypo/rand for testing
v := rand.Float64() //nolint:gosec // no need to import crypo/rand for testing
candle := &objects.Array{}
candle.Value = append(candle.Value, &objects.Time{Value: time.Now()},
&objects.Float{Value: v},

View File

@@ -25,7 +25,7 @@ const (
// Wrapper instance of GCT to use for modules
var Wrapper GCTExchange
// Exchange interface requirements
// GCTExchange interface requirements
type GCTExchange interface {
Exchanges(enabledOnly bool) []string
IsEnabled(exch string) bool