Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.24 KB

File metadata and controls

57 lines (38 loc) · 1.24 KB

proto-go-course

build main branch Lint protobuf

COUPON: START_DEC

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