Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/playground: update to Go 1.5 #12222

Closed
rajender opened this issue Aug 20, 2015 · 4 comments
Closed

x/playground: update to Go 1.5 #12222

rajender opened this issue Aug 20, 2015 · 4 comments

Comments

@rajender
Copy link
Contributor

http://golang.org/pkg/go/types/#example_MethodSet failing with following error. Seems like it is using older go version.

/tmp/sandbox407065635/main.go:6:2: cannot find package "go/importer" in any of:
/usr/src/go/src/go/importer (from $GOROOT)
/go/src/go/importer (from $GOPATH)
/tmp/sandbox407065635/main.go:9:2: cannot find package "go/types" in any of:
/usr/src/go/src/go/types (from $GOROOT)
/go/src/go/types (from $GOPATH)

@adg adg changed the title doc: go/types example fail to run playground: update to Go 1.5 Aug 20, 2015
@adg adg self-assigned this Aug 20, 2015
@adg
Copy link
Contributor

adg commented Aug 20, 2015

The playground hasn't been updated yet.

@rajender
Copy link
Contributor Author

It is updated.

@rajender
Copy link
Contributor Author

Getting another error...

2009/11/10 23:00:00 celsius.go:3:8: could not import fmt (can't find import: fmt)

@rajender rajender reopened this Aug 24, 2015
@mikioh mikioh changed the title playground: update to Go 1.5 x/playground: update to Go 1.5 Aug 24, 2015
@minux
Copy link
Member

minux commented Aug 25, 2015

This is expected, that particular example needs to access the local filesystem
in order to resolve the imports, but the playground can't support that for
obvious reasons. You can run that example if served from your computer
(godoc -play -http localhost:6060)

The playground has already updated to Go 1.5, so closing.

@minux minux closed this as completed Aug 25, 2015
@golang golang locked and limited conversation to collaborators Aug 24, 2016
@rsc rsc unassigned adg Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants