how to fix path problem with grpc, go and protoc

Issue

is there any fix fro running protoc command for go outside go path. Like I have to export path for every new project…

$ export PATH="$PATH:$(go env GOPATH)/bin"

Solution

just needed to add this to the .zshrc or .bashrc file

Answered By – Rohan

Answer Checked By – Gilberto Lyons (GoLangFix Admin)

Leave a Reply

Your email address will not be published.