Skip to content

Commit

Permalink
guides: move to latest Go versions (#357)
Browse files Browse the repository at this point in the history
go1.16 = go1.16
go1.15 = go1.15.8

Until we have multi-scenario support we can't actually "bump" guides to
go1.16, because otherwise we will break people who are linking to the
go115 scenario.
  • Loading branch information
myitcv committed Feb 19, 2021
1 parent 90daf7a commit 83ee279
Show file tree
Hide file tree
Showing 32 changed files with 118 additions and 118 deletions.
8 changes: 4 additions & 4 deletions _posts/2018-10-19-go-fundamentals_go115_en.markdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _posts/2019-10-15-get-started-with-go_go115_en.markdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions _posts/2020-08-13-installing-go_go115_en.markdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions _posts/2020-11-05-tools-as-dependencies_go115_en.markdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions _posts/2020-11-08-retract-module-versions_go116_en.markdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _posts/2020-11-09-using-staticcheck_go115_en.markdown

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions guide.cue
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Networks: *["playwithgo_pwg"] | [...string]

Delims: ["{{{", "}}}"]

_#installGo: "playwithgo/installgo1.15.7@sha256:2994cd07143aeab4fd8e90a09f30716c9441c6c340c12a69a96babd4eca7b06e"
_#go115LatestVersion: "go1.15.7"
_#go115LatestImage: "playwithgo/go1.15.7@sha256:29da7e55ee550cddc3f742d25756bf7ecfaa7c5a23c723f079f0c982a369fda4"
_#go116LatestImage: "playwithgo/go1.16beta1@sha256:0495af40e1c11efbf4622aa79dc4f39bdade9026fce003334a3db6c34bd6ba7d"
_#installGo: "playwithgo/installgo1.15.8@sha256:0e480b658f50b85b8eb40c426022d572709a93f6e0a7fe65475bea50ad172c5f"
_#go115LatestVersion: "go1.15.8"
_#go115LatestImage: "playwithgo/go1.15.8@sha256:7640da09d1555c4dddbba7f1b96051af2816e6542005176b749f38865ee0454c"
_#go116LatestImage: "playwithgo/go1.16@sha256:3ae1950433998a2be8c8ce3b1cb6479e6541f1e32443447a24085cfe09e2c391"

_#golangToolsLatest: "v0.0.0-20201105220310-78b158585360"

Expand Down
2 changes: 1 addition & 1 deletion guides/2018-10-19-go-fundamentals/en.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This guide's sequence includes six brief topics that each illustrate a different
This guide requires you to push code to remote source code repositories. A unique user, `{{{.username}}}`, has
been automatically created for you, as have the repositories [`{{{ .greetings_mod }}}`]({{{ .greetings_vcs }}}) and
[`{{{ .hello_mod }}}`]({{{ .hello_vcs }}}). For more details on how `play-with-go.dev` guides work, please see the
[_Introduction to `play-with-go.dev` guides_](ntro-to-play-with-go-dev/) guide.
[_Introduction to `play-with-go.dev` guides_](/intro-to-play-with-go-dev_go115_en) guide.

### Prerequisites

Expand Down
6 changes: 3 additions & 3 deletions guides/2018-10-19-go-fundamentals/go115_en_log.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ go version
go version go1.15.7 linux/amd64
go version go1.15.8 linux/amd64
$ pwd
/home/gopher
$ mkdir /home/gopher/greetings
Expand Down Expand Up @@ -385,14 +385,14 @@ func TestHelloEmpty(t *testing.T) {
EOD
$ go test
PASS
ok {{{.GREETINGS}}} 0.003s
ok {{{.GREETINGS}}} 0.002s
$ go test -v
=== RUN TestHelloName
--- PASS: TestHelloName (0.00s)
=== RUN TestHelloEmpty
--- PASS: TestHelloEmpty (0.00s)
PASS
ok {{{.GREETINGS}}} 0.004s
ok {{{.GREETINGS}}} 0.002s
$ cat <<EOD > /home/gopher/greetings/greetings.go
package greetings

Expand Down
12 changes: 6 additions & 6 deletions guides/2018-10-19-go-fundamentals/out/gen_out.cue

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion guides/2019-10-15-get-started-with-go/go115_en_log.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$ go version
go version go1.15.7 linux/amd64
go version go1.15.8 linux/amd64
$ pwd
/home/gopher
$ mkdir /home/gopher/hello
Expand Down
8 changes: 4 additions & 4 deletions guides/2019-10-15-get-started-with-go/out/gen_out.cue

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions guides/2020-08-13-installing-go/go115_en_log.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$ pwd
/home/gopher
$ wget -q https://golang.org/dl/go1.15.7.linux-amd64.tar.gz
$ sudo tar -C /usr/local -xzf go1.15.7.linux-amd64.tar.gz
$ wget -q https://golang.org/dl/go1.15.8.linux-amd64.tar.gz
$ sudo tar -C /usr/local -xzf go1.15.8.linux-amd64.tar.gz
$ echo export PATH="/usr/local/go/bin:$PATH" >>$HOME/.profile
$ source $HOME/.profile
$ go version
go version go1.15.7 linux/amd64
go version go1.15.8 linux/amd64
$ go env
GO111MODULE=""
GOARCH="amd64"
Expand Down
12 changes: 6 additions & 6 deletions guides/2020-08-13-installing-go/out/gen_out.cue

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions guides/2020-09-01-basic-go-modules-example/out/gen_out.cue

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions guides/2020-10-07-intro-to-play-with-go-dev/out/gen_out.cue

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83ee279

Please sign in to comment.