Skip to content

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

Description

@bradfitz

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions