From 4522b7b48dbc459eebeeb6b0573c22a1ad0a0552 Mon Sep 17 00:00:00 2001 From: barriery Date: Fri, 21 Aug 2020 10:06:55 +0000 Subject: [PATCH] fix compile doc --- doc/COMPILE.md | 2 +- doc/COMPILE_CN.md | 2 +- tools/serving_build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/COMPILE.md b/doc/COMPILE.md index a8dce7e1..466cef73 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 4f327196..2ddaaf71 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 c105927e..64c0c397 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() { -- GitLab