1 // Generator of Go structs out of the VPP binary API definitions in JSON format.
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,
10 // binapi-generator --input-file=examples/bin_api/acl.api.json --output-dir=examples/bin_api
11 // binapi-generator --input-dir=examples/bin_api --output-dir=examples/bin_api