scripts: install github.com/myitcv/gobin while gobin doesn't exist.

This commit is contained in:
CFC4N
2020-10-30 20:58:00 +08:00
parent 7da5182f1d
commit 2e55875cc7
2 changed files with 5 additions and 4 deletions

View File

@@ -17,8 +17,6 @@ if [[ $(protoc --version | cut -f2 -d' ') != "3.12.3" ]]; then
exit 255
fi
run env GO111MODULE=off go get -u github.com/myitcv/gobin
GOFAST_BIN=$(tool_get_bin github.com/gogo/protobuf/protoc-gen-gofast)
GRPC_GATEWAY_BIN=$(tool_get_bin github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway)
SWAGGER_BIN=$(tool_get_bin github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger)