Protocol Buffers Data Type Go Code Generation
Jump to navigation
Jump to search
External
https://protobuf.dev/reference/go/go-generated
Internal
Overview
The code that supports the data types defined in the .proto
files are generated as follows:
Installation
The generic compiler must be installed with TODO.
To generate Go code, the Go plugin must be installed with:
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
This will install a protoc-gen-go
binary in ${GOBIN}
.