Skip to content

x/tools/gopls: modernizer for sync.OnceValues #76822

@adonovan

Description

@adonovan

Proposal Details

Some complex uses of sync.Once can be much simplified using OnceValues; see
https://go.dev/cl/728860 for example. Let's add a modernizer that recognizes the pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.ProposalToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions