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 binapigen decoding and minor improvements
[govpp.git]
/
binapi
/
gen.go
diff --git
a/gen.go
b/binapi/gen.go
similarity index 91%
rename from
gen.go
rename to
binapi/gen.go
index
6b70a9c
..
aefde2b
100644
(file)
--- a/
gen.go
+++ b/
binapi/gen.go
@@
-12,10
+12,10
@@
// See the License for the specific language governing permissions and
// limitations under the License.
// See the License for the specific language governing permissions and
// limitations under the License.
-package
govpp
+package
binapi
// To generate bindings for VPP API files in the default system directory, run:
//
// To generate bindings for VPP API files in the default system directory, run:
//
-// go generate
gen.go
+// go generate
./binapi
//
//
-//go:generate binapi-generator -input-dir=/usr/share/vpp/api -output-dir=
binapi
-gen=rpc,rest
+//go:generate binapi-generator -input-dir=/usr/share/vpp/api -output-dir=
.
-gen=rpc,rest