update to latest micro, optimize flatten
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
47feb209a4
commit
0476b2dd5c
@ -258,3 +258,7 @@ func (c *jsonCodecV2) String() string {
|
|||||||
func NewCodec(opts ...codec.Option) *jsonCodec {
|
func NewCodec(opts ...codec.Option) *jsonCodec {
|
||||||
return &jsonCodec{opts: codec.NewOptions(opts...)}
|
return &jsonCodec{opts: codec.NewOptions(opts...)}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func NewCodecV2(opts ...codec.Option) *jsonCodecV2 {
|
||||||
|
return &jsonCodecV2{opts: codec.NewOptions(opts...)}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user