diff --git a/content/docs/languages/go/basics.md b/content/docs/languages/go/basics.md index bb61790..bfc0ff9 100644 --- a/content/docs/languages/go/basics.md +++ b/content/docs/languages/go/basics.md @@ -40,7 +40,7 @@ The example code is part of the [grpc-go][] repo. the repo: ```sh - $ git clone https://github.com/grpc/grpc-go + $ git clone -b {{< param grpc_vers.go >}} https://github.com/grpc/grpc-go ``` 2. Change to the example directory: @@ -605,7 +605,7 @@ Got message Sixth message at point(0, 3) page. {{< /note >}} -[download]: https://github.com/grpc/grpc-go/archive/master.zip +[download]: https://github.com/grpc/grpc-go/archive/{{< param grpc_vers.go >}}.zip [grpc-go]: https://github.com/grpc/grpc-go [Prerequisites]: ../quickstart/#prerequisites [Quick start]: ../quickstart/ diff --git a/content/docs/languages/go/quickstart.md b/content/docs/languages/go/quickstart.md index d81220c..53abe84 100644 --- a/content/docs/languages/go/quickstart.md +++ b/content/docs/languages/go/quickstart.md @@ -40,7 +40,7 @@ The example code is part of the [grpc-go][] repo. the repo: ```sh - $ git clone https://github.com/grpc/grpc-go + $ git clone -b {{< param grpc_vers.go >}} https://github.com/grpc/grpc-go ``` 2. Change to the quick start example directory: @@ -204,7 +204,7 @@ from the `examples/helloworld` directory: - Explore the [API reference](../api). [Basics tutorial]: ../basics/ -[download]: https://github.com/grpc/grpc-go/archive/master.zip +[download]: https://github.com/grpc/grpc-go/archive/{{< param grpc_vers.go >}}.zip [Getting Started]: https://golang.org/doc/install [Go]: https://golang.org [grpc-go]: https://github.com/grpc/grpc-go