update to latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
0476b2dd5c
commit
b19b8813b6
@ -28,7 +28,7 @@ func TestFrameFlatten(t *testing.T) {
|
|||||||
Name: &codec.Frame{Data: []byte("test")},
|
Name: &codec.Frame{Data: []byte("test")},
|
||||||
}
|
}
|
||||||
|
|
||||||
buf, err := NewCodec().Marshal(s)
|
buf, err := NewCodec(codec.Flatten(true)).Marshal(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
@ -20,8 +20,8 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
_ codec.Codec = (*jsonCodec)()
|
_ codec.Codec = (*jsonCodec)(nil)
|
||||||
_ codec.CodecV2 = (*jsonCodecV2)()
|
_ codec.CodecV2 = (*jsonCodecV2)(nil)
|
||||||
)
|
)
|
||||||
|
|
||||||
type JsonMarshalOptions struct {
|
type JsonMarshalOptions struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user