Documentation ¶
Overview ¶
Package printer display in standard output simple info/success/error messages
Index ¶
- func Error(err error, format string, args ...interface{})
- func ErrorText(format string, args ...interface{})
- func FatalIfError(err error, code int)
- func FatalWithMessageIfError(err error, code int, format string, args ...interface{})
- func Info(format string, args ...interface{})
- func Success(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorText ¶
func ErrorText(format string, args ...interface{})
ErrorText prints an error message
func FatalIfError ¶
FatalIfError prints the error and exits the program if err is not nil
func FatalWithMessageIfError ¶
FatalWithMessageIfError does the same than Error, then exit, if err is not nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.