Skip to content

Commit 40a314e

Browse files
authored
Update go.md
Adjust GO installation information after travis-build updates
1 parent 3cf77a5 commit 40a314e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

user/languages/go.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ language: go
2626
{: data-file=".travis.yml"}
2727
2828
Note that, in order to choose e.g Go 1.18, you must use `go: "1.18.0"` (full version, not
29-
`go: 1.18` (shorter one)). Using a shorter one results in a missing GO package.
29+
`go: 1.18` (shorter one)).
3030
</aside>
3131

3232
{{ site.data.snippets.linux_windows_note }}
@@ -37,16 +37,17 @@ configuration](/user/customizing-the-build/) guides first.
3737

3838
## Specify a Go version
3939

40-
You can use any tagged version of Go from https://go.dev/dl/ - you need to specify
41-
the version you want precisely, like "1.23.2" and similar.
40+
You can use any tagged version of Go, a version with `x` in place of the minor or patch level to use the latest for a given major or minor version, or use `master` or `latest` to get the latest version from source.
4241

4342

4443
```yaml
4544
language: go
4645
4746
go:
4847
- "1.22.4"
49-
- "1.18.1"
48+
- "1.18.x"
49+
- master
50+
- stable
5051
```
5152
{: data-file=".travis.yml"}
5253

0 commit comments

Comments
 (0)