Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix codec fallback and generate type imports
[govpp.git]
/
examples
/
union-example
/
union_example.go
diff --git
a/examples/union-example/union_example.go
b/examples/union-example/union_example.go
index
9993ee1
..
6d4619d
100644
(file)
--- a/
examples/union-example/union_example.go
+++ b/
examples/union-example/union_example.go
@@
-53,7
+53,7
@@
func constructExample() {
}
func encodingExample() {
}
func encodingExample() {
- var c
codec.Msg
Codec
+ var c
= codec.Default
Codec
// encode this message
var msg = ip.IPPuntRedirect{
// encode this message
var msg = ip.IPPuntRedirect{