Debian Codegraph @

go/analysis/passes/printf/main.go

raw symbols SCIP
1 // Copyright 2024 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
7 // The printf command applies the printf checker to the specified
8 // packages of Go source code.
9 //
10 // Run with:
11 //
12 // $ go run ./go/analysis/passes/printf/main.go -- packages...
13 package main
14
15 import (
16 "golang.org/x/tools/go/analysis/passes/printf"
17 "golang.org/x/tools/go/analysis/singlechecker"
18 )
19
20 func main() { singlechecker.Main(printf.Analyzer) }