add grpc example (#1401)

use grpc helloworld example.
This commit is contained in:
田欧
2018-06-22 09:51:06 +08:00
committed by Bo-Yi Wu
parent bf85b32c1d
commit 737d2fb7ab
7 changed files with 290 additions and 2 deletions

View File

@ -1,5 +1,6 @@
GOFMT ?= gofmt "-s"
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
VETPACKAGES ?= $(shell go list ./... | grep -v /vendor/ | grep -v /examples/)
GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*")
all: install
@ -26,7 +27,7 @@ fmt-check:
fi;
vet:
go vet $(PACKAGES)
go vet $(VETPACKAGES)
deps:
@hash govendor > /dev/null 2>&1; if [ $$? -ne 0 ]; then \