remove stringer and go generate (#1715)

This commit is contained in:
Menghan Li
2017-12-06 17:35:20 -08:00
committed by GitHub
parent ff1be3fcc5
commit b8191e57b2
2 changed files with 1 additions and 4 deletions

View File

@ -23,8 +23,6 @@ package codes // import "google.golang.org/grpc/codes"
// A Code is an unsigned 32-bit error code as defined in the gRPC spec.
type Code uint32
//go:generate stringer -type=Code
const (
// OK is returned on success.
OK Code = 0

3
vet.sh
View File

@ -23,8 +23,7 @@ if [ "$1" = "-install" ]; then
golang.org/x/tools/cmd/goimports \
honnef.co/go/tools/cmd/staticcheck \
github.com/client9/misspell/cmd/misspell \
github.com/golang/protobuf/protoc-gen-go \
golang.org/x/tools/cmd/stringer
github.com/golang/protobuf/protoc-gen-go
if [[ "$check_proto" = "true" ]]; then
if [[ "$TRAVIS" = "true" ]]; then
PROTOBUF_VERSION=3.3.0