Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LineLength is the maximum length allowed of a printed line of text. This is // the primary control for this package. It defaults to the greater of the // current terminal width (detected at init time) and MaxLineLength. LineLength = initialLineLength // MaxLineLength sets the upper bound for how long a line can be. This is a // secondary control that adjusts how LineLength is calculated. It defaults to // 120 (for readability). MaxLineLength = 120 )
Functions ¶
func Fatal ¶
func Fatal(msg string)
Fatal wraps the given message using LineLength and prints it to stderr with a trailing newline, then exits with a non-zero status code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.