package
0.0.0-20190318102628-d7df357d3e99
Repository: https://github.com/go-zh/tools.git
Documentation: pkg.go.dev
# Functions
BenchmarkAll invokes the testing function once for each exporter registered in the All global.
Copy returns a Writer that copies a file from the specified source to the required file.
Export is called to write out a test directory from within a test function.
Link returns a Writer that creates a hard link from the specified source to the required file.
MustCopyFileTree returns a file set for a module based on a real directory tree.
Script returns a Writer that writes out contents to the file and sets the executable bit on the created file.
Symlink returns a Writer that creates a symlink from the specified source to the required file.
TestAll invokes the testing function once for each exporter registered in the All global.
# Interfaces
Exporter implementations are responsible for converting from the generic description of some test data to a driver specific file layout.
# Type aliases
A Writer is a function that writes out a test file.