summaryrefslogtreecommitdiff
path: root/generateHeader.go
diff options
context:
space:
mode:
Diffstat (limited to 'generateHeader.go')
-rw-r--r--generateHeader.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/generateHeader.go b/generateHeader.go
index eafc25b..c94b045 100644
--- a/generateHeader.go
+++ b/generateHeader.go
@@ -8,6 +8,7 @@ import (
"io"
"os"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/log"
)
@@ -19,7 +20,7 @@ func pbHeaderComment(w io.Writer) {
fmt.Fprintln(w, "// user defined Mutex locks were auto added")
fmt.Fprintln(w, "//")
fmt.Fprintln(w, "// This file was autogenerated with autogenpb:")
- fmt.Fprintln(w, "// ", me.argv.Version())
+ fmt.Fprintln(w, "// ", argvpb.Version())
fmt.Fprintln(w, "// Theese sort.pb.go and marshal.pb.go files are autogenerated")
fmt.Fprintln(w, "// The autogenpb sources have example .proto files with instructions")
fmt.Fprintln(w, "")
@@ -31,7 +32,7 @@ func headerComment(w io.Writer) {
fmt.Fprintln(w, "// go install go.wit.com/apps/autogenpb@latest")
fmt.Fprintln(w, "//")
fmt.Fprintln(w, "// This file was autogenerated with autogenpb:")
- fmt.Fprintln(w, "// ", me.argv.Version())
+ fmt.Fprintln(w, "// ", argvpb.Version())
fmt.Fprintln(w, "// Theese sort.pb.go and marshal.pb.go files are autogenerated")
fmt.Fprintln(w, "// The autogenpb sources have example .proto files with instructions")
fmt.Fprintln(w, "//")