1.0.16 • Published 1 year ago
@nanaimoinc/protobuf v1.0.16
Installation tips
- Install brew
- Install protoc
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin- Generate protos
make genNEW EMPLOYEES - GIT SETUP
Setup SSH keys:
ssh-keygen -t ed25519 -C "your_email@nanaimo.ai"
eval "$(ssh-agent -s)"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519 git config --global --add url."git@github.com:".insteadOf "https://github.com/"
export GOPRIVATE=github.com/nanaimo-ai
go mod tidyAlso add the environment variable permanenlty to the shell script.
echo 'export GOPRIVATE=github.com/nanaimo-ai' >> ~/.zshrc
source ~/.zshrc