diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 05:50:52 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 05:50:52 -0500 | 
| commit | 8b1fcd11a5156f4e98e07b1a1ce7253e2f0dfa3e (patch) | |
| tree | 938d87b8aa8a3e72b9c82b9e29ba186f750a840d | |
| parent | 9e211b6e180491199571ad17b200e4796c2f6117 (diff) | |
| -rw-r--r-- | generate.go | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/generate.go b/generate.go index d4e209f..15d96aa 100644 --- a/generate.go +++ b/generate.go @@ -1,13 +1,12 @@  package main -// NOTE: it would be helpful if go.mod doesn't exist, that go generate -//       would automatically run go mod init and go mod tidy -//       and allow directives to 'go get go.wit.com/apps/autogenpb' -//       then this process could be fully automated +// 'make generate' will call this +// +// go generate is a cool feature. many thanks to the GO dev team +// +// NOTE: please add to go generate: if ! exists go.mod, run 'go mod init' &  'go mod tidy'  //  //go:generate make go-generate  //go:generate autogenpb --proto event.proto  //go:generate autogenpb --proto portmap.proto -// #  go:generate go get golang.org/x/tools # repo seems broken at this time (?) -// #  go:generate go install -v golang.org/x/tools/cmd/goimports  //go:generate bash -c "goimports -w *.go"  | 
