mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-09 07:26:48 +00:00
CI/build: Update Go version, linters and fix minor issues (#1612)
* CI/build: Update Go version, linters and fix minor issues * linters: Add intrange, copyloopvar, additional go vet linters to match gopls and fix issues
This commit is contained in:
@@ -29,7 +29,7 @@ func StructValsToURLVals(v interface{}) (url.Values, error) {
|
||||
structVal := reflect.ValueOf(v).Elem()
|
||||
structType := structVal.Type()
|
||||
|
||||
for i := 0; i < structVal.NumField(); i++ {
|
||||
for i := range structVal.NumField() {
|
||||
structField := structVal.Field(i)
|
||||
|
||||
var outgoingTag string
|
||||
|
||||
Reference in New Issue
Block a user