Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RepoBaseDir string
View Source
var RepoBasePkg string
Functions ¶
func Testdata ¶
func Testdata(path string) (io.ReadCloser, error)
Testdata fetches a testdata file. The path should be relative to the /test/testdata directory.
func TestdataFromJSON ¶
TestdataFromJSON fetches a testdata file and decodes it into a type. The path should be compatible with Testdata(), and the target should be compatible with Golang's json.Unmarshal().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.