X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=examples%2Funion-example%2Funion_example.go;h=6d4619dbc387c3ce110a9060983c6e5e40e118d3;hb=ceed73403bdb61387d04be8b47183e9c4a970749;hp=9993ee19321eb71b2e043df7a15928da9f5af69f;hpb=94620e85f0bdbb054af07ce3670fadc1f76cfdf0;p=govpp.git diff --git a/examples/union-example/union_example.go b/examples/union-example/union_example.go index 9993ee1..6d4619d 100644 --- a/examples/union-example/union_example.go +++ b/examples/union-example/union_example.go @@ -53,7 +53,7 @@ func constructExample() { } func encodingExample() { - var c codec.MsgCodec + var c = codec.DefaultCodec // encode this message var msg = ip.IPPuntRedirect{