bbgo_origin/pkg/pb/README.md

10 lines
168 B
Markdown
Raw Permalink Normal View History

2022-02-14 08:16:32 +00:00
# Protocol Buffers
## Generate code
```sh
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
cd <bbgo>/pkg/protobuf
protoc -I=. --go_out=. bbgo.proto
```