Remove unused type handling in codec.EncodeAny
@@ -144,16 +144,6 @@ func EncodeAny(tc TypeCodec, o interface{}) (*TypedObj, error) {
return newTypedObj(TypeDict, &TypedDict{Map: m}), nil
case map[string]*TypedObj:
return newTypedObj(TypeDict, &TypedDict{Map: obj}), nil
- case map[string]int64:
- m := make(map[string]*TypedObj)
- for k, o := range obj {
- if eo, err := EncodeAny(tc, o); err != nil {
- return nil, err
- } else {
- m[k] = eo
- }
- }
- return newTypedObj(TypeDict, &TypedDict{Map: m}), nil
case *TypedObj:
return obj, nil
case *TypedDict:
