golang.org/x/tools@v0.21.0/go/analysis/passes/shadow/cmd/shadow/main.go (about) 1 // Copyright 2018 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 shadow command runs the shadow analyzer. 6 package main 7 8 import ( 9 "golang.org/x/tools/go/analysis/passes/shadow" 10 "golang.org/x/tools/go/analysis/singlechecker" 11 ) 12 13 func main() { singlechecker.Main(shadow.Analyzer) }