Skip to content

cmd/go,cmd/distpack: make cmd/gofmt a regular tool #78461

Description

@seankhliao

gofmt is currently built by cmd/dist and placed in GOROOT/bin/gofmt, next to go.
It could be a tool built on demand, like all the other tools since #71867

This could fix #27166 and shrink the binary distribution size a bit.

cc @golang/go-command

Metadata

Metadata

Assignees

No one assigned

    Labels

    GoCommandcmd/goNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.ProposalToolProposalIssues describing a requested change to a Go tool or command-line program.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions