mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 17:25: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
|
||
|
```
|