refactor: add uint64 and Base64UrlBinary value support to marshallMapMsgpack
This commit is contained in:
parent
de909db84e
commit
40d7c90595
|
@ -113,6 +113,15 @@ func marshallMapMsgpack(enc *msgpack.Encoder, m *linkedhashmap.Map) error {
|
|||
if err := enc.EncodeInt(int64(v)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
case uint64:
|
||||
if err := enc.EncodeInt(int64(v)); err != nil {
|
||||
return err
|
||||
}
|
||||
case Base64UrlBinary:
|
||||
if err := enc.Encode(&v); err != nil {
|
||||
return err
|
||||
}
|
||||
case FileVersion:
|
||||
if err := enc.Encode(&v); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue