diff options
Diffstat (limited to 'generateHeader.go')
| -rw-r--r-- | generateHeader.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/generateHeader.go b/generateHeader.go index 72fdc9e..2aa7c5e 100644 --- a/generateHeader.go +++ b/generateHeader.go @@ -8,7 +8,6 @@ import ( "io" "os" - "go.wit.com/lib/protobuf/argvpb" "go.wit.com/log" ) @@ -20,7 +19,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, "// ", argvpb.StandardVersion(ARGNAME, VERSION, BUILDTIME)) + fmt.Fprintln(w, "// ", me.argv.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, "") @@ -32,7 +31,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, "// ", argvpb.StandardVersion(ARGNAME, VERSION, BUILDTIME)) + fmt.Fprintln(w, "// ", me.argv.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, "//") |
