github.com/bhojpur/cache@v0.0.4/pkg/api/v1/generate.sh (about) 1 #!/bin/sh 2 3 go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 4 go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1 5 export PATH="$PATH:$(go env GOPATH)/bin" 6 protoc -I. --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative *.proto 7 mv github.com/bhojpur/cache/pkg/api/v1/*.go . 8 rm -rf github.com