Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputWriter ¶
OutputWriter determines which output that the applications written to with the default output being stdout. When the output path is specified, it will store the data to buffer before being flushed out to other media such as file.
func New ¶
func New(outputPath string) *OutputWriter
New instantiates new *outputwriter.OutputWriter.
func (*OutputWriter) SaveBufferToFile ¶
func (o *OutputWriter) SaveBufferToFile() error
SaveBufferToFile saves data written on the buffer to designated file path.
Click to show internal directories.
Click to hide internal directories.