package
0.0.0-20240502185502-1e7574337bb7
Repository: https://github.com/kohirens/stdlib.git
Documentation: pkg.go.dev
# Functions
AbsPath Return the absolute path of the directory or panic if error.
No description provided by the author
GetTempFile Get a temporary file for writing and reading.
GetTestBinCmd return a command to run the test binary in a sub-process, passing it flags as fixtures to produce expected output; `TestMain`, will be run automatically.
ResetDir Reset a directory by emptying it out.
RunMain Used for running the application's main function from a call to a test function, but in a sub process.
TempFileSwap Swap a file pointer for a temporary file pointer.
VerboseSubCmdOut Serves as a pass-through function display output to stdout and stderr respectively, but only if the verbosity flag is turned on.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author