diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 08:55:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 08:55:11 -0500 |
| commit | 8385540f09ca42ef9443fddfd1a89e76ad5f1329 (patch) | |
| tree | 45cc8b4da0d6a68eee2f4c80cfffa540d876b0a0 /generateHeader.go | |
| parent | 6ccf7c45a24bf55a8d8ccc5b452dc3496aeac90e (diff) | |
new argvpb changes
Diffstat (limited to 'generateHeader.go')
| -rw-r--r-- | generateHeader.go | 5 |
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, "//") |
