mirror of https://github.com/golang/go.git
README.go2go: add a note about GO2PATH
Adds a little note about `GO2PATH` and that it is required for the `go2go` tool.
Updates #39617
Change-Id: I9e3cea16a7d7539555180dc065957d6a56f390b9
GitHub-Last-Rev: 2aa6815df7
GitHub-Pull-Request: golang/go#39657
Reviewed-on: https://go-review.googlesource.com/c/go/+/238498
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
4287a49936
commit
3f40f78cab
|
|
@ -14,6 +14,10 @@ There are some sample packages in `cmd/go2go/testdata/go2path/src`.
|
|||
You can see the full documentation for the tool by running `go doc
|
||||
cmd/go2go`.
|
||||
|
||||
The `go2go` tool will look for `.go2` files using the environment variable `GO2PATH`.
|
||||
You can find some useful packages that you might want to experiment with by
|
||||
setting `GO2PATH=$GOROOT/src/cmd/go2go/testdata/go2path`.
|
||||
|
||||
If you find bugs in the updated type checker or in the translation
|
||||
tool, they should be filed in the [standard Go issue
|
||||
tracker](https://golang.org/issue).
|
||||
|
|
|
|||
Loading…
Reference in New Issue