Skip to content

Commit 1320197

Browse files
committed
gopls/internal/analysis/modernize/cmd/modernize: create
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]>
1 parent 0dc10dc commit 1320197

File tree

1 file changed

+0
-2
lines changed
  • gopls/internal/analysis/modernize/cmd/modernize

1 file changed

+0
-2
lines changed

gopls/internal/analysis/modernize/main.go gopls/internal/analysis/modernize/cmd/modernize/main.go

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build ignore
6-
75
// The modernize command suggests (or, with -fix, applies) fixes that
86
// clarify Go code by using more modern features.
97
package main

0 commit comments

Comments
 (0)