golang.org/x/tools/gopls@v0.15.3/internal/analysis/unusedparams/cmd/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  // The unusedparams command runs the unusedparams analyzer.
     6  package main
     7  
     8  import (
     9  	"golang.org/x/tools/go/analysis/singlechecker"
    10  	"golang.org/x/tools/gopls/internal/analysis/unusedparams"
    11  )
    12  
    13  func main() { singlechecker.Main(unusedparams.Analyzer) }