| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This is being moved to x/website in https://golang.org/cl/199058.
Updates golang/go#33637
Updates golang/go#29206
Change-Id: I5c58b784fcdd212d7a003cd0f4085059f33a47c7
Reviewed-on: https://go-review.googlesource.com/c/go/+/199057
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the GOPATH section of the 'How To Write Go Code' document, it is
mentioned two times in the span of a few lines that one can set GOPATH
to a custom workspace path. The two paragraphs say basically the same
thing, and they both link to golang.org/wiki/SettingGOPATH, so I'm
quite sure the duplication is not intentional.
This change deletes the second occurrence.
Change-Id: I16f8bb8657041a23ed272eacf9adbc5637e8e34a
Reviewed-on: https://go-review.googlesource.com/c/go/+/197839
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous section of documentation said that if GOPATH is not set then
it will be default to "$HOME/go", not "$HOME/work".
This change fix the path in example code to "$HOME/go", and while at it
fix the output of git command after commit.
Change-Id: Ifedca6c3997efd07e865c27b7321d755acad0254
Reviewed-on: https://go-review.googlesource.com/c/go/+/175258
Reviewed-by: Andrew Bonventre <andybons@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's already half gone and later will be all gone.
It's not worth explaining in an introduction doc.
Fixes #24506
Updates #4719
Change-Id: Ie48128b3aa090d84e0e734aa45f14a4480292913
Reviewed-on: https://go-review.googlesource.com/129679
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
|
|
|
|
|
|
|
|
| |
Fixes #25876
Change-Id: I149dbb2afef13cc13fb5722d930377ed918d7e3c
Reviewed-on: https://go-review.googlesource.com/118717
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
|
|
|
|
|
|
| |
Change-Id: I9d2d25df067ca573589db5ff18296a5ec33866be
Reviewed-on: https://go-review.googlesource.com/118595
Reviewed-by: Ian Lance Taylor <iant@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In an effort to help others avoid the issues I've hit due to lack of
symlink support under GOPATH, I've added a note of warning to the
Workspaces section.
I have not changed the contents of go help gopath, because on reflection
it seems this change alone may be sufficient.
Fixes #21320
Change-Id: Ib8969bf12cecad878e89ff66b5864bbf3caaf219
Reviewed-on: https://go-review.googlesource.com/61930
Reviewed-by: Ian Lance Taylor <iant@golang.org>
|
|
|
|
|
|
|
|
| |
It should be $HOME/go instead of $HOME/work
Change-Id: I22e0a89deff30f935c3e25a237d6c0c161103339
Reviewed-on: https://go-review.googlesource.com/46890
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
|
|
|
|
|
|
| |
Change-Id: I4718c82540ef214728393824b89c8c7f6656823b
Reviewed-on: https://go-review.googlesource.com/36210
Reviewed-by: Russ Cox <rsc@golang.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Also moves the GOPATH env variable guide to
golang.org/wiki/SettingGOPATH.
Fixes #18294.
Change-Id: I88a2ce550df7466f8d2388d86bc8476dcf3c2ad6
Reviewed-on: https://go-review.googlesource.com/34918
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
|
|
|
|
|
|
|
|
| |
Updates #18294.
Change-Id: Ib6b84243a15ed921cc8960e5fa355fd7594181e6
Reviewed-on: https://go-review.googlesource.com/34821
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Replaces CL 33356.
Fixes #17262.
Change-Id: Idfb2343e90771775e51a66c63760f458737a288c
Reviewed-on: https://go-review.googlesource.com/33730
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We relay this info in a few places, in a few different ways, but not
consistently everywhere. This led one of our users to start googling
and not find https://golang.org/doc/code.html#Workspaces, of which `go
help gopath` is the most equivalent.
Change-Id: I28a94375739f3aa4f200e145293ca2a5f65101e1
Reviewed-on: https://go-review.googlesource.com/28690
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
|
|
|
|
|
|
|
|
|
| |
Fixes #9228
Change-Id: Ic4df4a39f6f363bdd6eb9228c8164e6e9dccee1b
Reviewed-on: https://go-review.googlesource.com/5561
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
|
|
|
|
|
|
|
|
|
| |
The existing go code document did not link to the GOPATH documentation.
This will link to it, in hopes of making it more discoverable.
Change-Id: Ie4ded2fdce08f412e4acbcc93acdd76f5791b84a
Reviewed-on: https://go-review.googlesource.com/2265
Reviewed-by: Andrew Gerrand <adg@golang.org>
|
|
|
|
|
|
|
|
| |
Related to issue #9228
Change-Id: I0819e657f6393788754d1412f9c2126a170d4cf1
Reviewed-on: https://go-review.googlesource.com/1577
Reviewed-by: Rob Pike <r@golang.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are the references that affect current Go users.
I left intact references in older release notes;
we can figure out what to do with them later.
LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/186140043
Conflicts:
doc/go1.4.html
Change-Id: I1032686f2b3ac6dacaf8f114b8c35cdf221330ca
|
|
|
|
|
|
|
| |
LGTM=rsc, r
R=r, rsc
CC=golang-codereview, golang-codereviews
https://golang.org/cl/168050043
|
|
|
|
|
|
|
|
|
|
|
| |
golang.org now serves HTTPS with a valid cert, so it's reasonable
that users should click through to the HTTPS versions of *.golang.org
and other known sites.
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/112650043
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clarify that GOROOT should only be set when using a custom install path.
Remove NetBSD from binary install page (we don't provide binaries).
Remove "What's next" links from installation instructions.
Emphasize "How to Write Go Code" page.
Fixes #6613.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/28700043
|
|
|
|
|
|
| |
R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/14629043
|
|
|
|
|
|
| |
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/14494044
|
|
|
|
|
|
|
|
| |
See https://en.wikipedia.org/wiki/Newton%27s_method#Square_root_of_a_number
R=golang-dev, minux.ma, adg
CC=golang-dev
https://golang.org/cl/9145044
|
|
|
|
|
|
| |
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8919043
|
|
|
|
|
|
|
|
|
| |
Fixed example program's output to match program's code.
Fixes #5204.
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/8365043
|
|
|
|
|
|
| |
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/8248044
|
|
|
|
|
|
| |
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/8285044
|
|
|
|
|
|
| |
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8344043
|
|
|
|
|
|
|
|
|
|
| |
This version just tells you what to do, rather
than trying to teach you how it all works.
Should be much better for newcomers.
R=dave, gary.burd, alcosholik, r
CC=golang-dev
https://golang.org/cl/8247044
|
|
|
|
|
|
| |
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7308079
|
|
|
|
|
|
| |
R=dsymonds
CC=golang-dev
https://golang.org/cl/7094058
|
|
|
|
|
|
| |
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6849046
|
|
|
|
|
|
| |
R=adg
CC=golang-dev
https://golang.org/cl/6458043
|
|
|
|
|
|
| |
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5989045
|
|
|
|
|
|
|
|
| |
Fixes #3445.
R=golang-dev, rsc, mtj
CC=golang-dev
https://golang.org/cl/5975061
|
|
|
|
|
|
|
|
|
| |
Fixes #3420.
(which was already fixed)
R=golang-dev, bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/5987043
|
|
|
|
|
|
|
|
| |
Fixes #3429.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5966047
|
|
|
|
|
|
|
|
|
| |
Fixes #3420.
Part of issue 3424.
R=golang-dev, cldorian, adg, r
CC=golang-dev
https://golang.org/cl/5958046
|
|
|
|
|
|
| |
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5845059
|
|
|
|
|
|
| |
R=golang-dev, rsc
CC=adg, golang-dev
https://golang.org/cl/5720050
|
|
|
|
|
|
| |
R=golang-dev, balasanjay, r
CC=golang-dev
https://golang.org/cl/5640045
|
|
|
|
|
|
| |
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5707065
|
|
|
|
|
|
| |
R=golang-dev, adg, r
CC=golang-dev
https://golang.org/cl/5649068
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows HTML pages to specify arbitrary data in a header:
<!--{
"Title": "The page title",
...
}-->
replacing the old style comments:
<!-- title The page title -->
R=gri, rsc, r, bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/5532093
|
|
|
|
|
|
| |
R=golang-dev, r, kevlar, rsc
CC=golang-dev
https://golang.org/cl/5534045
|
|
|
|
|
|
| |
R=rsc
CC=golang-dev
https://golang.org/cl/4264043
|
|
|
|
|
|
| |
R=r, rsc, gri
CC=golang-dev
https://golang.org/cl/4257049
|
|
|
|
|
|
|
|
| |
"-test.bench" and "-test.run".
R=r
CC=golang-dev
https://golang.org/cl/4197041
|
|
|
|
|
|
|
|
| |
Fixes #1507.
R=golang-dev, ehog.hedge, rsc
CC=golang-dev
https://golang.org/cl/4160049
|
|
|
|
|
|
| |
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/3288042
|