Friday, December 14, 2018

Protocol Buffer processing with Golang

Assuming that you have installed Golang and protoc, you just need to run the following command
go get -u github.com/golang/protobuf/protoc-gen-go

You should be able to generate the corresponding protocol buffer implementation with the following command
protoc --go_out=. *.proto

References:
  1. https://github.com/golang/protobuf

No comments:

Post a Comment