Documentation ¶ Index ¶ func SetupPath(t testing, file string) (fileName string, teardown func()) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SetupPath ¶ func SetupPath(t testing, file string) (fileName string, teardown func()) SetupPath creates a temporary directory and a test file, based on the passed file name. The path to the temporary test file and a teardown function for deleting the temporary directory are returned. On failure the Fatal method of t will be executed. Types ¶ This section is empty. Source Files ¶ View all Source files osfstest.go Click to show internal directories. Click to hide internal directories.