Browse Source

FIX: Small type in error message

pull/66/head
Theo 5 years ago
parent
commit
74daca63b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      caste.go

+ 1
- 1
caste.go View File

@@ -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…
Cancel
Save