Skip to content

Clement-Jean/proto-go-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proto-go-course

build main branch Lint protobuf

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