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