golang.org/x/tools@v0.21.0/internal/refactor/inline/analyzer/main.go (about)

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build ignore
     6  // +build ignore
     7  
     8  // The inline command applies the inliner to the specified packages of
     9  // Go source code. Run with:
    10  //
    11  //	$ go run ./internal/refactor/inline/analyzer/main.go -fix packages...
    12  package main
    13  
    14  import (
    15  	"golang.org/x/tools/go/analysis/singlechecker"
    16  	inlineanalyzer "golang.org/x/tools/internal/refactor/inline/analyzer"
    17  )
    18  
    19  func main() { singlechecker.Main(inlineanalyzer.Analyzer) }