Documentation
¶
Overview ¶
Package file assists in loading test files from the file system. Errors will call t.Error(err). Passing in `OptionNotRequired` will cause the function to fail if no file is found.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Path string
Dir string
Base string
// Extension will NOT include the preceding "."
Extension string
Root string
Data string
}
Click to show internal directories.
Click to hide internal directories.