Documentation ¶
Overview ¶
Package buildgo contains utilities used by plz_go_test. It's split up mostly for ease of testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CoverVar ¶
type CoverVar struct {
Dir, ImportPath, ImportName, Package, Var, File string
}
A CoverVar is just a combination of package path and variable name for one of the templated-in coverage variables.
func FindCoverVars ¶
FindCoverVars searches the given directory recursively to find all compiled packages in it. From these we extract any coverage variables that have been templated into them; unfortunately this isn't possible to examine dynamically using the reflect package.
Click to show internal directories.
Click to hide internal directories.