diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2020-06-23 14:10:53 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2020-06-24 08:17:33 +0200 |
commit | ceed73403bdb61387d04be8b47183e9c4a970749 (patch) | |
tree | 3f48a49051672efb44945b279b9f69693bc48540 /examples/union-example/union_example.go | |
parent | 94620e85f0bdbb054af07ce3670fadc1f76cfdf0 (diff) |
Fix codec fallback and generate type imports
Change-Id: Idd76c7f19d952939caf153928ac60175845078ff
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/union-example/union_example.go')
-rw-r--r-- | examples/union-example/union_example.go | 2 |
1 files changed, 1 insertions, 1 deletions
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{ |