Fix binapigen decoding and minor improvements
[govpp.git] / binapi / gen.go
similarity index 91%
rename from gen.go
rename to binapi/gen.go
index 6b70a9c..aefde2b 100644 (file)
--- a/gen.go
 //  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:
 //
-//     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