Forcing clients to register their Fact types with gob made for an unfriendly API. Now the driver is again responsible for doing it. The FactTypes field is now a slice of Fact values (not reflect.Types) used only for their dynamic type, which is slightly more convenient. Change-Id: I01219edb24bd2371ba642bb56508aa80c19a9b61 Reviewed-on: https://go-review.googlesource.com/137836 Run-TryBot: Alan Donovan <adonovan@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> |
||
|---|---|---|
| .. | ||
| findcall | ||
| pkgfact | ||
| README | ||
README
This directory does not contain a Go package, but acts as a container for various analyses that implement the golang.org/x/tools/go/analysis API and may be imported into an analysis tool. By convention, each package foo provides the analysis, and each command foo/cmd/foo provides a standalone driver.