Skip to content

x/website:https://go.dev/doc/tutorial/workspaces #74359

Closed as not planned
Closed as not planned
@JakeBrambila

Description

@JakeBrambila

What is the URL of the page with the issue?

https://go.dev/doc/tutorial/workspaces

What is your user agent?

Not necessary

package reverse

import "strconv"

// Int returns the decimal reversal of the integer i.
func Int(i int) int {
i, _ = strconv.Atoi(String(strconv.Itoa(i)))
return i
}

In this example on the documentation I just wanted to point out that I think you meant
i, _ = strconv.Atoi(reverse.String(strconv.Itoa(i))) not i, _ = strconv.Atoi(String(strconv.Itoa(i)))

Just wanted to point that out, love the docs so far!

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.website

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions