go/analysis: write package documentation
godoc: http://100.101.181.83:8000/pkg/golang.org/x/tools/go/analysis/
(Apologies to those not on Google corp network.)
Change-Id: I9e21e551443d3048cf247696367d6d06aa7da13e
Reviewed-on: https://go-review.googlesource.com/c/139678
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
diff --git a/go/analysis/validate.go b/go/analysis/validate.go
index ff176e4..dd9d25b 100644
--- a/go/analysis/validate.go
+++ b/go/analysis/validate.go
@@ -8,11 +8,11 @@
// Validate reports an error if any of the analyzers are misconfigured.
// Checks include:
-// - that the name is a valid identifier;
-// - that analyzer names are unique;
-// - that the Requires graph is acylic;
-// - that analyzer fact types are unique;
-// - that each fact type is a pointer.
+// that the name is a valid identifier;
+// that analyzer names are unique;
+// that the Requires graph is acylic;
+// that analyzer fact types are unique;
+// that each fact type is a pointer.
func Validate(analyzers []*Analyzer) error {
names := make(map[string]bool)