Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 1
    This wouldn't work as the protoc compiler can't resolve ~ Commented Aug 30, 2019 at 17:47
  • 1
    As an aside, you really should be using .bashrc instead of .bash_profile Commented Aug 30, 2019 at 17:48
  • 2
    @TannishaHill .bash_profile or better yet .profile is preferable for env vars which you export because it is usually only executed once, by login shells. .bashrc is executed by all interactive shells, so you end up just blithely reexporting the env vars everytime you manually launch a child shell. Commented Jun 9, 2021 at 0:35
  • 3
    go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead. go get: installing executables with 'go get' in module mode is deprecated. Commented Jun 7, 2022 at 17:35
  • 2
    'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version. Here is a sample command to use: go install github.com/golang/protobuf/proto@latest github.com/golang/protobuf/protoc-gen-go@latest Commented Jun 15, 2022 at 21:46