From 1bd7311e70a34733e4f5cdbee540a8b8ebc64248 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 10 Oct 2025 05:51:38 -0500 Subject: new notes --- generate.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'generate.go') diff --git a/generate.go b/generate.go index 6402fc9..9c61dc1 100644 --- a/generate.go +++ b/generate.go @@ -1,9 +1,10 @@ package tree -// 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 toolkitConfig.proto -- cgit v1.2.3