diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 05:50:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 05:50:47 -0500 |
| commit | 159bdc8379d0565bbb7a2a6d56e78ad365303bc0 (patch) | |
| tree | da9bc57f379fadb3b6fb5dc38231ec1da46a4fb2 | |
| parent | 2db5ec3a0fce367fe6d7c5ba098ae14db1072391 (diff) | |
new notesv0.0.18
| -rw-r--r-- | generate.go | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/generate.go b/generate.go index 8b2c357..12f5c02 100644 --- a/generate.go +++ b/generate.go @@ -1,12 +1,11 @@ package config -// 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 config.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" |
