X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=binapi%2Fgen.go;fp=gen.go;h=aefde2bf6615c5f04565863b81c95f64e0b38f5d;hb=58da9ac6e691a8c660eb8ca838a154e11da0db68;hp=6b70a9c410f5b205ca08cd16cd469da8f386ce52;hpb=a155cd438c6558da266c1c5931361ea088b35653;p=govpp.git 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 --- 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. -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