Selaa lähdekoodia

FIX: Small type in error message

pull/66/head
Theo 5 vuotta sitten
vanhempi
commit
74daca63b7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      caste.go

+ 1
- 1
caste.go Näytä tiedosto

@@ -1107,7 +1107,7 @@ func ToStringMapInt64E(i interface{}) (map[string]int64, error) {
}

if reflect.TypeOf(i).Kind() != reflect.Map {
return m, fmt.Errorf("unable to cast %#v of type %T to map[string]int", i, i)
return m, fmt.Errorf("unable to cast %#v of type %T to map[string]int64", i, i)
}

kind := reflect.TypeOf(i).Elem().Kind()


Loading…
Peruuta
Tallenna