mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
10 lines
168 B
Markdown
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
|
||
|
```
|