diff options
author | Rastislav Szabo <raszabo@cisco.com> | 2017-05-04 11:09:03 +0200 |
---|---|---|
committer | Rastislav Szabo <raszabo@cisco.com> | 2017-05-04 11:12:35 +0200 |
commit | a101d966133a70b8a76526be25070436d14fcf9f (patch) | |
tree | 75e2dbf20de615e58252b780b2ba5baae8fdcf82 /binapi_generator/doc.go | |
parent | a968ead74525125dff9ae90b1c9a9102e4327900 (diff) |
initial commit
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
Diffstat (limited to 'binapi_generator/doc.go')
-rw-r--r-- | binapi_generator/doc.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/binapi_generator/doc.go b/binapi_generator/doc.go new file mode 100644 index 0000000..84a971b --- /dev/null +++ b/binapi_generator/doc.go @@ -0,0 +1,13 @@ +// Generator of Go structs out of the VPP binary API definitions in JSON format. +// +// The JSON input can be specified as a single file (using the `input-file` +// CLI flag), or as a directory that will be scanned for all `.json` files +// (using the `input-dir` CLI flag). The generated Go bindings will be +// placed into `output-dir` (by default the current working directory), +// where each Go package will be placed into its own separate directory, +// for example: +// +// binapi_generator --input-file=examples/bin_api/acl.api.json --output-dir=examples/bin_api +// binapi_generator --input-dir=examples/bin_api --output-dir=examples/bin_api +// +package main |