Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithCancelOnSignals ¶
ContextWithCancelOnSignals returns a context that is canceled when one of the specified signals are received
func Die ¶
Die panics it the error is not nil. If a cause string is provided it will be displayed in the error message.
func Doc ¶
Doc returns a string where all the '<BIN>' are replaced with the binary name and all the '\t' are replaced with a uniformed indentation using space.
func WithSpinner ¶
WithSpinner create a spinner that prints a message and canceled if the given context is canceled or the returned stop function is called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.