summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/binapi-generator/generator.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/binapi-generator/generator.go b/cmd/binapi-generator/generator.go
index 22fe3e1..d80f687 100644
--- a/cmd/binapi-generator/generator.go
+++ b/cmd/binapi-generator/generator.go
@@ -384,8 +384,9 @@ func processMessageField(ctx *context, fields *[]string, fld *jsongo.JSONNode) e
// generatePackageHeader generates package header into provider writer
func generatePackageHeader(ctx *context, w io.Writer, rootNode *jsongo.JSONNode) {
+ fmt.Fprintln(w, "// Code generated by govpp binapi-generator DO NOT EDIT.")
fmt.Fprintln(w, "// Package "+ctx.packageName+" represents the VPP binary API of the '"+ctx.packageName+"' VPP module.")
- fmt.Fprintln(w, "// DO NOT EDIT. Generated from '"+ctx.inputFile+"'")
+ fmt.Fprintln(w, "// Generated from '"+ctx.inputFile+"'")
fmt.Fprintln(w, "package "+ctx.packageName)