Skip to content

Commit

Permalink
README: Suggest go get -u by default.
Browse files Browse the repository at this point in the history
Suggesting go get -u is a safer default. It results in a more predictable action, the user will end up with the latest version of grpc-gateway and all its dependencies. Otherwise, the versions users end up with will be arbitrary, which may lead to issues. If users prefer not to update dependencies, they can always go get without -u flag.

As an example of the issue this would help resolve, see grpc-ecosystem#103.
  • Loading branch information
dmitshur committed Feb 5, 2016
1 parent 97a6b0b commit 456b58c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ make check
sudo make install
```

Then, `go get` as usual.
Then, `go get -u` as usual.

```sh
go get github.com/gengo/grpc-gateway/protoc-gen-grpc-gateway
go get github.com/golang/protobuf/protoc-gen-go
go get -u github.com/gengo/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/golang/protobuf/protoc-gen-go
```

## Usage
Expand Down

0 comments on commit 456b58c

Please sign in to comment.