bbgo_origin/pkg/pb/README.md
2022-02-18 14:24:38 +08:00

10 lines
168 B
Markdown

# 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
```