Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureStdout ¶
CaptureStdout captures all writes to os.Stdout and os.Stderr during the execution of the provided function. It returns the combined captured output as a string and restores os.Stdout and os.Stderr to their original states.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.