brew tap homebrew/versions
brew install protobuf
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}