proto-go-course
proto-go-course copied to clipboard
Complete Guide to Protocol Buffers 3 Golang
proto-go-course
COUPON: START_AUG
Notes
Windows
- I recommend you use powershell (try to update: see) for following this course.
- I recommend you use Chocolatey as package installer (see Install)
Build
Prerequisites
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
Linux/MacOS
go mod tidy
make
Windows - Chocolatey
choco install make
go mod tidy
make
Windows - Without Chocolatey
protoc -Iproto --go_opt=module=github.com/Clement-Jean/proto-go-course --go_out=. proto/*.proto
go mod tidy
go build -o proto-go-course.exe .
Run
./proto-go-course
or
./proto-go-course.exe