FIX: Small type in error message
This commit is contained in:
parent
0744dd163e
commit
74daca63b7
2
caste.go
2
caste.go
@ -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…
Reference in New Issue
Block a user