diff options
author | David Symonds <dsymonds@golang.org> | 2015-02-21 12:11:55 +1100 |
---|---|---|
committer | David Symonds <dsymonds@golang.org> | 2015-02-21 12:11:55 +1100 |
commit | ca8c87738c5eb2c40173506131997efb03a30cde (patch) | |
tree | aac456829d8d150470fb08b10a791f18fdffb964 /go | |
parent | ab2320c95fd2ab3e08c3d043737ca4dfe98825c5 (diff) |
Tidy up README.md.
Simply Go version requirement.
Use `go get` instead of `go install`.
Don't mention $GOBIN, which is irrelevant for most people.
Fix a couple of typos.
Diffstat (limited to 'go')
-rw-r--r-- | go/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/go/README.md b/go/README.md index d464b45d36..5d837f969d 100644 --- a/go/README.md +++ b/go/README.md @@ -4,7 +4,7 @@ gRPC in 3 minutes (Go) PREREQUISITES ------------- -- This requires Go 1.4.x +- This requires Go 1.4 - Requires that [GOPATH is set](https://golang.org/doc/code.html#GOPATH) ```sh $ go help gopath @@ -42,10 +42,10 @@ OPTIONAL - Rebuilding the generated code - This is will change once proto3 is officially released 2 Install the protoc Go plugin. ```sh -$ go install -a github.com/golang/protobuf/protoc-gen-go -$ # ensure the PATH contains $GOPATH/bin or $GOBIN -$ export PATH=PATH:<your/gopath/bin> +$ go get -a github.com/golang/protobuf/protoc-gen-go +$ # ensure the PATH contains $GOPATH/bin +$ export PATH=PATH:$GOPATH/bin $ -$ # from ths dir; invoke protoc +$ # from this dir; invoke protoc $ protoc -I ../protos ../protos/helloworld.proto --go_out=plugins=grpc:. ``` |