aboutsummaryrefslogtreecommitdiffstats
path: root/examples/union-example/union_example.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/union-example/union_example.go')
-rw-r--r--examples/union-example/union_example.go2
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{