diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 05:51:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 05:51:27 -0500 |
| commit | 833bdfba3da287326e0da52c5805e95d7be1c636 (patch) | |
| tree | 4c1f499ea75f844dbceedaa449dc0928d650f05a | |
| parent | 19021a0787b4327200e6a99383b4881a395e8740 (diff) | |
new notesv0.0.15
| -rw-r--r-- | generate.go | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/generate.go b/generate.go index bd35076..140c968 100644 --- a/generate.go +++ b/generate.go @@ -1,12 +1,11 @@ package httppb -// 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 httpRequest.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" |
