Skip to content

x/website, x/pkgsite, x/tools/cmd/godoc: context.Context.Value isn't present in index, and comment on ordering of functions that return a type #37674

@coreyog

Description

@coreyog

Recently I've been working with a developer that's new to go and is using the documentation to get up to speed. There have been a couple things missing from the index of some documentation pages.

For example, https://golang.org/pkg/context has no documentation around (context) Value(key interface{}) interface{}. It's shown in an example and mentioned in the interface under type Context but the function feels too important not to be listed in the index or have its own paragraph detailing it.

There's a similar situation with Dial(network string, address string) (net.Conn, error) in the net package. It's talked about in the overview but missing from the index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsitepkgsite/dochtmlIssues related to package documentation in pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions