This CL adds archive mode, which takes advantage of go/gcexportdata
and go/types packages to extract typing info from a package archive file.
Given the way go archive is designed, we don't need to worry about transitive
dependencies, as it already includes all transitive typing info. And, we don't
need to build or run anything, so even if cgo is involved, it will still work.
This CL adds archive mode, which takes advantage of go/gcexportdata and go/types packages to extract typing info from a package archive file.
Given the way go archive is designed, we don't need to worry about transitive dependencies, as it already includes all transitive typing info. And, we don't need to build or run anything, so even if cgo is involved, it will still work.
Fixes #424