1#!/bin/bash 2 3# You might need to go get -v github.com/gogo/protobuf/... 4 5protos=${GOPATH-$HOME/go}/src/github.com/dgraph-io/badger/protos 6pushd $protos > /dev/null 7protoc --gofast_out=plugins=grpc:. -I=. *.proto 8