에 의존 준비
git clone https://github.com/grpc/grpc-go.git $env:GOPATH\src\google.golang.org\grpc
git clone https://github.com/golang/net.git $env:GOPATH\src\golang.org\x\net
git clone https://github.com/golang/text.git $env:GOPATH\src\golang.org\x\text
go get -u github.com/golang/protobuf
git clone https://github.com/google/go-genproto.git $env:GOPATH\src\google.golang.org\genproto
테스트하여 HelloWorld
서버를 엽니 다
$ ENV는 : GOPATH \ SRC \ github.com \ grpc \ \ helloworld를 \ greeter_server 예 \ grpc - 이동
실행 main.go 이동
클라이언트를 엽니 다
$ ENV는 : GOPATH \ SRC \ github.com \ grpc \ \ helloworld를 \ greeter_client 예 \ grpc - 이동
실행 main.go 이동
참조 링크
https://www.jianshu.com/p/dba4c7a6d608