summaryrefslogtreecommitdiff
path: root/generate.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 05:51:20 -0500
committerJeff Carr <[email protected]>2025-10-10 05:51:20 -0500
commit3926e151fd47fb8b85ccffde0a3b668c026dffcb (patch)
tree5ba98bd37934db77a74f290b7d8684d91c5de911 /generate.go
parent4bc7060538e11103c6e01209501d66373e340386 (diff)
new notes
Diffstat (limited to 'generate.go')
-rw-r--r--generate.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/generate.go b/generate.go
index f868e90..501bb5c 100644
--- a/generate.go
+++ b/generate.go
@@ -1,14 +1,13 @@
package gitpb
-// 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 repo.proto
//go:generate autogenpb --proto goDep.proto
//go:generate autogenpb --proto gitTag.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"