update to latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
b19b8813b6
commit
f250aeb50d
@ -211,7 +211,7 @@ func (c *jsonCodecV2) Marshal(b []byte, v interface{}, opts ...codec.Option) ([]
|
||||
}
|
||||
|
||||
var err error
|
||||
b, err = json.Append(b, v, getMarshalFlags(marshalOptions))
|
||||
b, err = json.Append(b[:0], v, getMarshalFlags(marshalOptions))
|
||||
return b, err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user