Skip to content

x/tools: release static analysis tool for context propogation #16742

Closed
@mdlayher

Description

@mdlayher

Now that context is part of the standard library in Go 1.7, it would be nice for the tool mentioned in the comment of context.TODO() to be available to the public: https://golang.org/pkg/context/#TODO.

If this isn't feasible for some reason, I instead propose that this comment be removed, to prevent misleading others who are looking for the same tool:

TODO is recognized by static analysis tools that determine whether Contexts are propagated correctly in a program.

/cc @broady

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions