blob: 9053df615fee477544a93a28c43a1781c1b1eae5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package guipb
// 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 go get go.wit.com/apps/autogenpb # can't do this here since this repo is a GO "primitive" library (no deps)
// # go:generate go install -v go.wit.com/apps/autogenpb
//go:generate autogenpb --proto widget.proto
//go:generate autogenpb --proto table.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"
|