diff options
author | Vladimir Lavor <vlavor@cisco.com> | 2020-07-01 12:18:54 +0200 |
---|---|---|
committer | Vladimir Lavor <vlavor@cisco.com> | 2020-07-02 15:23:07 +0200 |
commit | c7ae74a95d1bd6fefcbb061f5f045c60c11e32fc (patch) | |
tree | f04013af76e1e3c38266cc2606312cd0c9f443d3 /codec | |
parent | df67791c6ffc96331f75aec7d3addfe2efca7739 (diff) |
Binary API generator improvements
* Many aliases removed, aliased types reference original types via import instead
* Added various helper methods for simpler conversion between go and vpp types
Change-Id: I7999ac8d524cece4da03e6447b13421659765095
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Diffstat (limited to 'codec')
-rw-r--r-- | codec/msg_codec_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codec/msg_codec_test.go b/codec/msg_codec_test.go index 7f06f0f..c950fd8 100644 --- a/codec/msg_codec_test.go +++ b/codec/msg_codec_test.go @@ -2,6 +2,7 @@ package codec_test import ( "bytes" + "git.fd.io/govpp.git/examples/binapi/ip_types" "testing" "git.fd.io/govpp.git/api" @@ -50,7 +51,7 @@ func TestEncode(t *testing.T) { Route: ip.IPRoute{ TableID: 0, StatsIndex: 0, - Prefix: ip.Prefix{}, + Prefix: ip_types.Prefix{}, NPaths: 0, }, }, |