commit | d42ac64492ab8d7a40e33c3a8f02030ad1cb9717 | [log] [tgz] |
---|---|---|
author | dfawley <dfawley@google.com> | Tue Sep 11 10:33:48 2018 -0700 |
committer | GitHub <noreply@github.com> | Tue Sep 11 10:33:48 2018 -0700 |
tree | f6086e71220953761efb40c1f9e4ca4a35bd01f1 | |
parent | 46ee6abebf62241b49973422c42250327bb94169 [diff] |
move tools.go to sub-package (#2300) `godep` by default pulls in all dependencies regardless of build tags. If `tools.go` is in our main package, that can cause unnecessary dependencies to be pulled into others' repos that otherwise don't need them. Moving it to an unused sub-package appears to fix this problem.
The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start: Go guide.
To install this package, you need to install Go and setup your Go workspace on your computer. The simplest way to install the library is to run:
$ go get -u google.golang.org/grpc
This requires Go 1.6 or later. Go 1.7 will be required soon.
The grpc package should only depend on standard Go packages and a small number of exceptions. If your contribution introduces new dependencies which are NOT in the list, you need a discussion with gRPC-Go authors and consultants.
See API documentation for package and API descriptions and find examples in the examples directory.
See the current benchmarks for some of the languages supported in this dashboard.
General Availability Google Cloud Platform Launch Stages.
Please update proto package, gRPC package and rebuild the proto files:
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u google.golang.org/grpc
protoc --go_out=plugins=grpc:. *.proto