commit | 79a8f22851d7555bbf87316eff0fc4c7876f0d5e | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Wed Feb 26 12:30:53 2020 -0500 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Wed Feb 26 17:57:44 2020 +0000 |
tree | fd180f39b2a4bdbff52a58f7eea072f6bf69cb1f | |
parent | 441f74967ebfc0578ec0b9bd74bdb08cc21ee18a [diff] |
cmd/golangorg: set GOPATH to empty directory rather than empty string When generating an index, point the GOPATH environment variable to an empty directory. Setting it to the empty string doesn't work as of Go 1.8, where a default GOPATH value was added¹. ¹ https://golang.org/doc/go1.8#gopath Change-Id: I9adfa60e8aa9c6931e3752b24720ec6e77932c9a Reviewed-on: https://go-review.googlesource.com/c/website/+/221105 Reviewed-by: Alexander Rakoczy <alex@golang.org> Run-TryBot: Alexander Rakoczy <alex@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds the Go Website server code and content.
The easiest way to install is to run go get -u golang.org/x/website
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.