#skyintface
protoc-gen-go:
source profile
go get github.com/golang/protobuf/protoc-gen-go
cd github.com/golang/protobuf/protoc-gen-go
go build
go install
vi /etc/profile 将$GOPATH/bin #加入环境变量
source profile proto:
go get github.com/golang/protobuf/proto
cd github.com/golang/protobuf/proto
go build
go install加载redis
cd $GOPATH/src
go get github.com/alphazero/Go-Redis
cd redis
go install go build main
go build client