diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 06:05:38 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 06:05:38 -0600 |
| commit | 904c5b0c13f67af9032b3e9aa8fa4366498f0db9 (patch) | |
| tree | 821d27c177f04053fd96544ac393ee251274bc68 /header.go | |
| parent | a4beeca8579f23560eb30ba3acd75a533ed1d4d8 (diff) | |
verbage to inform someone that looks
Diffstat (limited to 'header.go')
| -rw-r--r-- | header.go | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -5,10 +5,22 @@ import ( "io" ) +func pbHeaderComment(w io.Writer) { + // technically this should be the first line and in this exact format: + fmt.Fprintln(w, "// Code modified by go.wit.com/apps/autogenpb. DO NOT EDIT.") + fmt.Fprintln(w, "//") + fmt.Fprintln(w, "// user defined Mutex locks were auto added") + fmt.Fprintln(w, "//") + fmt.Fprintln(w, "// autogenpb version & build time:", VERSION, BUILDTIME) + fmt.Fprintln(w, "// autogenpb auto generates Sort(), Unique() and Marshal() functions") + fmt.Fprintln(w, "// go install go.wit.com/apps/autogenpb@latest") + fmt.Fprintln(w, "") +} + func headerComment(w io.Writer) { // technically this should be the first line and in this exact format: fmt.Fprintln(w, "// Code generated by go.wit.com/apps/autogenpb. DO NOT EDIT.") - fmt.Fprintln(w, "// This file was autogenerated with autogenpb", VERSION, "DO NOT EDIT") + fmt.Fprintln(w, "// This file was autogenerated with autogenpb", VERSION, BUILDTIME) fmt.Fprintln(w, "// go install go.wit.com/apps/autogenpb@latest") fmt.Fprintln(w, "//") fmt.Fprintln(w, "// You can use it on simple protobuf files") |
