From 1128244f4f8e6f69856f75f6d7d3d5546d6cd875 Mon Sep 17 00:00:00 2001 From: Marko Date: Mon, 21 Dec 2020 09:36:07 -0800 Subject: [PATCH] docs: specify master for tutorials (#5822) ## Description Specify master for tutorials. I will have a followup PR for 0.34 that specifies 0.34 Ref: #5735 --- docs/tutorials/go-built-in.md | 12 +++++++++--- docs/tutorials/go.md | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/tutorials/go-built-in.md b/docs/tutorials/go-built-in.md index 9611cff00..2418459a8 100644 --- a/docs/tutorials/go-built-in.md +++ b/docs/tutorials/go-built-in.md @@ -40,7 +40,7 @@ Verify that you have the latest version of Go installed: ```bash $ go version -go version go1.15.1 darwin/amd64 +go version go1.15.x darwin/amd64 ``` ## 1.2 Creating a new Go project @@ -579,7 +579,13 @@ go mod init github.com/me/example ``` This should create a `go.mod` file. The current tutorial only works with -tendermint > v0.34, so let's make sure we're using the latest version: +the master branch of Tendermint. so let's make sure we're using the latest version: + +```sh +go get github.com/tendermint/tendermint@master +``` + +This will populate the `go.mod` with a release number followed by a hash for Tendermint. ```go module github.com/me/example @@ -588,7 +594,7 @@ go 1.15 require ( github.com/dgraph-io/badger v1.6.2 - github.com/tendermint/tendermint v0.34.0-rc4 + github.com/tendermint/tendermint ) ``` diff --git a/docs/tutorials/go.md b/docs/tutorials/go.md index 8b78883a8..2b2161702 100644 --- a/docs/tutorials/go.md +++ b/docs/tutorials/go.md @@ -43,7 +43,7 @@ Verify that you have the latest version of Go installed: ```bash $ go version -go version go1.15.1 darwin/amd64 +go version go1.15.x darwin/amd64 ``` ## 1.2 Creating a new Go project @@ -435,7 +435,13 @@ go mod init github.com/me/example ``` This should create a `go.mod` file. The current tutorial only works with -tendermint > v0.34, so let's make sure we're using the latest version: +the master branch of Tendermint, so let's make sure we're using the latest version: + +```sh +go get github.com/tendermint/tendermint@master +``` + +This will populate the `go.mod` with a release number followed by a hash for Tendermint. ```go module github.com/me/example @@ -444,7 +450,7 @@ go 1.15 require ( github.com/dgraph-io/badger v1.6.2 - github.com/tendermint/tendermint v0.34.0-rc4 + github.com/tendermint/tendermint ) ```