mirror of
https://github.com/json-iterator/go.git
synced 2025-06-06 22:36:25 +02:00
fix typo
This commit is contained in:
parent
81e64121ba
commit
d100b0d41f
@ -461,7 +461,7 @@ func createEncoderOfType(cfg *frozenConfig, typ reflect.Type) (ValEncoder, error
|
|||||||
}
|
}
|
||||||
return &uint32Codec{}, nil
|
return &uint32Codec{}, nil
|
||||||
case reflect.Uint64:
|
case reflect.Uint64:
|
||||||
if typeName != "uint164" {
|
if typeName != "uint64" {
|
||||||
return encoderOfType(cfg, reflect.TypeOf((*uint64)(nil)).Elem())
|
return encoderOfType(cfg, reflect.TypeOf((*uint64)(nil)).Elem())
|
||||||
}
|
}
|
||||||
return &uint64Codec{}, nil
|
return &uint64Codec{}, nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user