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

strconv: Unquote example looks like a unit test instead of an example #23693

Closed
bradfitz opened this issue Feb 4, 2018 · 3 comments
Closed
Labels
Documentation FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Feb 4, 2018

The Unquote example (https://golang.org/pkg/strconv/#Unquote) looks like a unit test instead of an example.

That is a sea of backslashes and quotes. I think we could make a more readable example.

@bradfitz bradfitz added Documentation help wanted NeedsFix The path to resolution is known, but the work has not been done. labels Feb 4, 2018
@bradfitz bradfitz added this to the Go1.11 milestone Feb 4, 2018
@pciet
Copy link
Contributor

pciet commented Feb 5, 2018

I can submit the CL if this is ok: https://play.golang.org/p/1n5phD85F--

@sabin-rapan
Copy link
Contributor

Already had a CL to submit. I published it now here

@gopherbot
Copy link

Change https://golang.org/cl/92015 mentions this issue: strconv: Update Unquote example to be more concise

@golang golang locked and limited conversation to collaborators May 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

4 participants