summaryrefslogtreecommitdiff
path: root/generate.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-08 00:24:25 -0500
committerJeff Carr <[email protected]>2025-10-08 00:24:25 -0500
commit16dd7c48c92289b6ff748db1cfd8bd9707acc892 (patch)
tree63dac8e29f4a5a26fba0d1cab262bdb53295f3a8 /generate.go
GO Library Template Startv0.0.1
Diffstat (limited to 'generate.go')
-rw-r--r--generate.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/generate.go b/generate.go
new file mode 100644
index 0000000..91503d8
--- /dev/null
+++ b/generate.go
@@ -0,0 +1,9 @@
+package golib
+
+// 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
+//
+//go:generate make go-generate
+//go:generate bash -c "goimports -w *.go"