Skip to content

Commit

Permalink
gopls/internal/analysis/modernize/cmd/modernize: create
Browse files Browse the repository at this point in the history
By moving the main.go file, gopls users will be able to run

$ go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix

after the gopls release to apply all modernizer fixes en masse.

Updates golang/go#70815

Change-Id: I25352b7b77653c177310dfea7a050741949890f9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/647355
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
  • Loading branch information
adonovan committed Feb 6, 2025
1 parent 0dc10dc commit 1320197
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build ignore

// The modernize command suggests (or, with -fix, applies) fixes that
// clarify Go code by using more modern features.
package main
Expand Down

0 comments on commit 1320197

Please sign in to comment.