Adds ssautil.Packages function, which creates ssa.Packages from packages.Packages. Deprecates testmain synthesis logic now that go/packages reports the test packages synthesized by the build system as first-class packages. Updates docs, examples, and tests. Flags potential confusion around legacy concept of "importable" packages. Change-Id: I6d9cd7c6436c715d1ef39e3e280f4af4d48ccc5a Reviewed-on: https://go-review.googlesource.com/128675 Reviewed-by: Dominik Honnef <dominik@honnef.co> |
||
|---|---|---|
| .. | ||
| testdata | ||
| load.go | ||
| load_test.go | ||
| switch.go | ||
| switch_test.go | ||
| visit.go | ||