10 lines
174 B
Markdown
10 lines
174 B
Markdown
|
# Protocol Buffers
|
||
|
|
||
|
## Generate code
|
||
|
|
||
|
```sh
|
||
|
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||
|
cd <qbtrade>/pkg/protobuf
|
||
|
protoc -I=. --go_out=. qbtrade.proto
|
||
|
```
|