micro-examples/pubsub/generate.go

4 lines
179 B
Go
Raw Permalink Normal View History

package main
//go:generate sh -c "protoc -I./proto -I. -I$(go list -f '{{ .Dir }}' -m go.unistack.org/micro-proto/v3) --go_out=paths=source_relative:./proto proto/example.proto"