Skip to content

Instantly share code, notes, and snippets.

@aligoren
Created May 30, 2022 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aligoren/94d807e16626f4b95c26c6853bf91cac to your computer and use it in GitHub Desktop.
Save aligoren/94d807e16626f4b95c26c6853bf91cac to your computer and use it in GitHub Desktop.
create-code:
protoc --proto_path=protos protos/* --go_out=gen/
protoc --proto_path=protos protos/* --go-grpc_out=gen/
run-server:
go build -o ${CURDIR}/server/server ${CURDIR}/server/server.go
${CURDIR}/server/server
run-client:
go build -o ${CURDIR}/client/client ${CURDIR}/client/client.go
${CURDIR}/client/client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment