1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:18:35 -06:00

go/analysis: add package docs for findcall, printf, and shadow

Change-Id: I966abb14b78262055b37a1a5db517fc55243be06
Reviewed-on: https://go-review.googlesource.com/c/tools/+/212619
Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
Hana (Hyang-Ah) Kim 2019-12-26 15:42:10 -05:00 committed by Hyang-Ah Hana Kim
parent 6b505debf4
commit 065ed046f1
3 changed files with 4 additions and 4 deletions

View File

@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// The findcall package defines an Analyzer that serves as a trivial
// Package findcall defines an Analyzer that serves as a trivial
// example and test of the Analysis API. It reports a diagnostic for
// every call to a function or method of the name specified by its
// -name flag. It also exports a fact for each declaration that
// matches the name, plus a package-level fact if the package contained
// one or more such declarations.
package findcall
import (

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file contains the printf-checker.
// Package printf defines an Analyzer that checks consistency
// of Printf format strings and arguments.
package printf
import (

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package shadow defines an Analyzer that checks for shadowed variables.
package shadow
import (