diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2020-04-17 14:29:26 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2020-04-17 14:32:55 +0200 |
commit | d372b4efe26650dbc83908ca0bbee38d90aed3e9 (patch) | |
tree | 6988708e1f1b54bbfc4504506921508cd8832f21 /examples | |
parent | 2c419b100f5f90c1215617d0fac81fa6749c4d6b (diff) |
Format generated Go source code in-processv0.3.4
This commit:
- removes dependency on gofmt tool
- cleans up package imports
- re-generates binapi for VPP 20.01
Change-Id: Ie4347720f92a87eb278be66c9f9ed9719c7bbbc3
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/binapi/af_packet/af_packet.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/ethernet_types/ethernet_types.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/interface_types/interface_types.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/interfaces/interfaces.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/ip/ip.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/ip_types/ip_types.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/memclnt/memclnt.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/memif/memif.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/vpe/vpe.ba.go | 9 | ||||
-rw-r--r-- | examples/binapi/vpe_types/vpe_types.ba.go | 9 |
10 files changed, 50 insertions, 40 deletions
diff --git a/examples/binapi/af_packet/af_packet.ba.go b/examples/binapi/af_packet/af_packet.ba.go index 6f50f22..9660114 100644 --- a/examples/binapi/af_packet/af_packet.ba.go +++ b/examples/binapi/af_packet/af_packet.ba.go @@ -13,12 +13,13 @@ It consists of: package af_packet import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ethernet_types "git.fd.io/govpp.git/examples/binapi/ethernet_types" interface_types "git.fd.io/govpp.git/examples/binapi/interface_types" diff --git a/examples/binapi/ethernet_types/ethernet_types.ba.go b/examples/binapi/ethernet_types/ethernet_types.ba.go index c7f836b..fffa6b1 100644 --- a/examples/binapi/ethernet_types/ethernet_types.ba.go +++ b/examples/binapi/ethernet_types/ethernet_types.ba.go @@ -10,12 +10,13 @@ It consists of: package ethernet_types import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ) const ( diff --git a/examples/binapi/interface_types/interface_types.ba.go b/examples/binapi/interface_types/interface_types.ba.go index c1becad..a9a34d1 100644 --- a/examples/binapi/interface_types/interface_types.ba.go +++ b/examples/binapi/interface_types/interface_types.ba.go @@ -11,12 +11,13 @@ It consists of: package interface_types import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ) const ( diff --git a/examples/binapi/interfaces/interfaces.ba.go b/examples/binapi/interfaces/interfaces.ba.go index 45fd4d2..7d4031f 100644 --- a/examples/binapi/interfaces/interfaces.ba.go +++ b/examples/binapi/interfaces/interfaces.ba.go @@ -15,12 +15,13 @@ It consists of: package interfaces import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ethernet_types "git.fd.io/govpp.git/examples/binapi/ethernet_types" interface_types "git.fd.io/govpp.git/examples/binapi/interface_types" diff --git a/examples/binapi/ip/ip.ba.go b/examples/binapi/ip/ip.ba.go index 0661dc5..f02cc9e 100644 --- a/examples/binapi/ip/ip.ba.go +++ b/examples/binapi/ip/ip.ba.go @@ -15,12 +15,13 @@ It consists of: package ip import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ethernet_types "git.fd.io/govpp.git/examples/binapi/ethernet_types" interface_types "git.fd.io/govpp.git/examples/binapi/interface_types" diff --git a/examples/binapi/ip_types/ip_types.ba.go b/examples/binapi/ip_types/ip_types.ba.go index 1812746..e812b8b 100644 --- a/examples/binapi/ip_types/ip_types.ba.go +++ b/examples/binapi/ip_types/ip_types.ba.go @@ -13,12 +13,13 @@ It consists of: package ip_types import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ) const ( diff --git a/examples/binapi/memclnt/memclnt.ba.go b/examples/binapi/memclnt/memclnt.ba.go index 5c8d1eb..a3ca389 100644 --- a/examples/binapi/memclnt/memclnt.ba.go +++ b/examples/binapi/memclnt/memclnt.ba.go @@ -12,12 +12,13 @@ It consists of: package memclnt import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ) const ( diff --git a/examples/binapi/memif/memif.ba.go b/examples/binapi/memif/memif.ba.go index c4434c4..2388cc2 100644 --- a/examples/binapi/memif/memif.ba.go +++ b/examples/binapi/memif/memif.ba.go @@ -13,12 +13,13 @@ It consists of: package memif import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ethernet_types "git.fd.io/govpp.git/examples/binapi/ethernet_types" interface_types "git.fd.io/govpp.git/examples/binapi/interface_types" diff --git a/examples/binapi/vpe/vpe.ba.go b/examples/binapi/vpe/vpe.ba.go index e95cf30..48b6389 100644 --- a/examples/binapi/vpe/vpe.ba.go +++ b/examples/binapi/vpe/vpe.ba.go @@ -14,12 +14,13 @@ It consists of: package vpe import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" vpe_types "git.fd.io/govpp.git/examples/binapi/vpe_types" ) diff --git a/examples/binapi/vpe_types/vpe_types.ba.go b/examples/binapi/vpe_types/vpe_types.ba.go index c937c8f..dbe81e0 100644 --- a/examples/binapi/vpe_types/vpe_types.ba.go +++ b/examples/binapi/vpe_types/vpe_types.ba.go @@ -12,12 +12,13 @@ It consists of: package vpe_types import ( - bytes "bytes" - context "context" + "bytes" + "context" + "io" + "strconv" + api "git.fd.io/govpp.git/api" struc "github.com/lunixbochs/struc" - io "io" - strconv "strconv" ) const ( |