• Daniel Martí's avatar
    doc: mention 'go get golang.org/dl/...' in install · 4edea0f0
    Daniel Martí authored
    I needed Go 1.10 to debug and fix a test failure on that Go version in
    x/tools, but I forgot what the magic 'go get' command for this was.
    
    Googling "download specific golang version" and similar keywords showed
    no results, presumably because the golang.org/dl subrepo isn't
    prominently recommended nor documented anywhere.
    
    The most appropriate documentation page to add this to is doc/install,
    since it goes into some detail and is well indexed. We only need a short
    section to introduce the trick.
    
    The example does mention a specific version, Go 1.10.7, but I couldn't
    imagine a way to make it version-agnostic while still being clear on
    what the commands effectively do.
    
    Change-Id: I13158564d76d95caec412cdb35a50a4356df5863
    Reviewed-on: https://go-review.googlesource.com/c/157457Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: 's avatarRob Pike <r@golang.org>
    4edea0f0
Name
Last commit
Last update
..
articles Loading commit data...
codewalk Loading commit data...
devel Loading commit data...
gopher Loading commit data...
play Loading commit data...
progs Loading commit data...
asm.html Loading commit data...
cmd.html Loading commit data...
code.html Loading commit data...
conduct.html Loading commit data...
contrib.html Loading commit data...
contribute.html Loading commit data...
debugging_with_gdb.html Loading commit data...
diagnostics.html Loading commit data...
docs.html Loading commit data...
editors.html Loading commit data...
effective_go.html Loading commit data...
gccgo_contribute.html Loading commit data...
gccgo_install.html Loading commit data...
go-logo-black.png Loading commit data...
go-logo-blue.png Loading commit data...
go-logo-white.png Loading commit data...
go1.1.html Loading commit data...
go1.10.html Loading commit data...
go1.11.html Loading commit data...
go1.12.html Loading commit data...
go1.2.html Loading commit data...
go1.3.html Loading commit data...
go1.4.html Loading commit data...
go1.5.html Loading commit data...
go1.6.html Loading commit data...
go1.7.html Loading commit data...
go1.8.html Loading commit data...
go1.9.html Loading commit data...
go1.html Loading commit data...
go1compat.html Loading commit data...
go_faq.html Loading commit data...
go_mem.html Loading commit data...
go_spec.html Loading commit data...
help.html Loading commit data...
ie.css Loading commit data...
install-source.html Loading commit data...
install.html Loading commit data...
root.html Loading commit data...
security.html Loading commit data...
share.png Loading commit data...
tos.html Loading commit data...