d74d47bcf262549aeb7528480cf24844ff1dcd8a
[govpp.git] / cmd / binapi-generator / doc.go
1 // Generator of Go structs out of the VPP binary API definitions in JSON format.
2 //
3 // The JSON input can be specified as a single file (using the `input-file`
4 // CLI flag), or as a directory that will be scanned for all `.json` files
5 // (using the `input-dir` CLI flag). The generated Go bindings will  be
6 // placed into `output-dir` (by default the current working directory),
7 // where each Go package will be placed into its own separate directory,
8 // for example:
9 //
10 //    binapi-generator --input-file=/usr/share/vpp/api/core/interface.api.json --output-dir=.
11 //
12 package main