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
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Milestone

Comments

@gopherbot
Copy link

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 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.

@rsc
Copy link
Contributor

rsc commented Jul 30, 2013

Comment 2:

Labels changed: added go1.2maybe.

@rsc
Copy link
Contributor

rsc commented Jul 30, 2013

Comment 3:

Labels changed: added feature.

@nigeltao
Copy link
Contributor

Comment 4:

This issue was closed by revision 205329a.

Status changed to Fixed.

@gopherbot gopherbot added fixed Suggested Issues that may be good for new contributors looking for work to do. labels Aug 16, 2013
@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.
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Projects
None yet
Development

No branches or pull requests

4 participants