package
0.5.0
Repository: https://github.com/ibrt/golang-lib.git
Documentation: pkg.go.dev

# Functions

GetColorDefault returns a color.
GetColorError returns a color.
GetColorHighlight returns a color.
GetColorInfo returns a color.
GetColorSecondary returns a color.
GetColorSecondaryHighlight returns a color.
GetColorSuccess returns a color.
GetColorWarning returns a color.
GetSetupColorStreams returns a SetupFunc that configures the color streams.
MustResetCapturing ensures the capturing is stopped (e.g.
MustStartCapturing sets up the streams and starts capturing.
MustStopCapturing restores the original streams and returns the captured stdout/stderr.
SetupStandardStreams is a SetupFunc that configures the stdout/stderr streams.
SetupTableStreams is a SetupFunc that configures the table streams.

# Type aliases

RestoreFunc describe a function that restores the original streams.
SetupFunc describes a function that replaces streams with the ones for capturing.