blob: 5a4b165cebcfa292231c83490f51c3001738c4eb [file] [log] [blame]
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// The modernize command suggests (or, with -fix, applies) fixes that
// clarify Go code by using more modern features.
//
// See [golang.org/x/tools/go/analysis/passes/modernize] for details.
//
// Deprecated: use 'go run
// golang.org/x/tools/go/passes/modernize/cmd/modernize' instead. In
// due course the modernizer suite will be accessed through "go fix";
// see https://go.dev/issue/71859.
package main
import (
"golang.org/x/tools/go/analysis/multichecker"
"golang.org/x/tools/go/analysis/passes/modernize"
)
func main() { multichecker.Main(modernize.Suite...) }