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

image: example not executable in playground #5983

Closed
gopherbot opened this issue Jul 29, 2013 · 4 comments
Closed

image: example not executable in playground #5983

gopherbot opened this issue Jul 29, 2013 · 4 comments

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Jul 29, 2013

by feedback.test.account:

https://feedback.corp.google.com/#/Report/1041818995

Description:
Simply attempting to run this code gives a "permission denied" error.

UI language: en
Detected language: en
@adg
Copy link
Contributor

@adg adg commented Jul 29, 2013

Comment 1:

The image package's example should be executable, but it doesn't work because it uses a
file from testdata, which the playground cannot access.
Perhaps the image data could be included as a base64-encoded string value? Perhaps godoc
should recognize examples that access disk (look for os.Open and the like?) and not
display them as executable.

Labels changed: added priority-later, suggested, removed feedback, restrict-view-owner.

Status changed to Accepted.

Loading

@rsc
Copy link
Contributor

@rsc rsc commented Jul 30, 2013

Comment 2:

Labels changed: added go1.2maybe.

Loading

@rsc
Copy link
Contributor

@rsc rsc commented Jul 30, 2013

Comment 3:

Labels changed: added feature.

Loading

@nigeltao
Copy link
Contributor

@nigeltao nigeltao commented Aug 16, 2013

Comment 4:

This issue was closed by revision 205329a.

Status changed to Fixed.

Loading

@rsc rsc added this to the Go1.2 milestone Apr 14, 2015
@rsc rsc removed the go1.2maybe label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants