Categorygithub.com/nnayoo/grpc-demo
module
0.0.0-20220111025759-00ef285420b2
Repository: https://github.com/nnayoo/grpc-demo.git
Documentation: pkg.go.dev

# README

安装 go PATH=$PATH:/usr/local/go/bin/

安装

$ PB_REL="https://github.com/protocolbuffers/protobuf/releases" $ curl -LO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip

unzip protoc-3.15.8-linux-x86_64.zip -d $HOME/.local export PATH="$PATH:$HOME/.local/bin"

$ go env -w GO111MODULE=on $ go env -w GOPROXY=https://goproxy.cn,direct

$ go install google.golang.org/protobuf/cmd/[email protected] $ go install google.golang.org/grpc/cmd/[email protected]

$ export PATH="$PATH:$(go env GOPATH)/bin"

protoc --go_out=. --go_opt=paths=source_relative
--go-grpc_out=. --go-grpc_opt=paths=source_relative
proto/proto.proto

git config --global user.name 'your name'

git config --global user.email 'your email'

git init

git add

git commit

git remote add origin [email protected]:tianqixin/runoob-git-test.git

git push -u origin main

# Packages

No description provided by the author
No description provided by the author
Package main implements a server for Greeter service.