diff --git a/doc/COMPILE.md b/doc/COMPILE.md index a8dce7e17a604f75bbca6baf5bdf41a658a01f4d..466cef73a5f217cd2322fa5548c518a9004800c2 100644 --- a/doc/COMPILE.md +++ b/doc/COMPILE.md @@ -75,7 +75,7 @@ export PATH=$PATH:$GOPATH/bin go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger go get -u github.com/golang/protobuf/protoc-gen-go -go get -u golang.org/x/net/context +go get -u google.golang.org/grpc ``` ## Compile Server diff --git a/doc/COMPILE_CN.md b/doc/COMPILE_CN.md index 4f327196ecaee7679271892ff7fe77faa18ef282..2ddaaf71f23b0199c7458d068139a6b7169c25d8 100644 --- a/doc/COMPILE_CN.md +++ b/doc/COMPILE_CN.md @@ -75,7 +75,7 @@ export PATH=$PATH:$GOPATH/bin go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger go get -u github.com/golang/protobuf/protoc-gen-go -go get -u golang.org/x/net/context +go get -u google.golang.org/grpc ``` diff --git a/tools/serving_build.sh b/tools/serving_build.sh index c105927e913365c89b4b703f9ee280e31da7ea4d..64c0c397103572802051308f4bd4d54c410eb781 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -25,7 +25,7 @@ function init() { go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger go get -u github.com/golang/protobuf/protoc-gen-go - go get -u golang.org/x/net/context + go get -u google.golang.org/grpc } function check_cmd() {