Skip to content

x/website: change Handle to HandleFunc in routing-enhancements blog post #66199

@rwxrob

Description

@rwxrob

What is the URL of the page with the issue?

https://go.dev/blog/routing-enhancements

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Screenshot

handlepost-bug

What did you do?

Read the docs. The reference to "handlePost" function suggests that the second argument is, in fact, a function and not a struct. Therefore, HandleFunc would be called instead.

What did you expect to see?

HandleFunc

What did you see instead?

Handle

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.website

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions