package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Nov 6, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package printer display in standard output simple info/success/error messages
func Error(err error, format string, args ...interface{})
Error prints the error with description
FatalIfError prints the the error and exits the program if err is not nil
func FatalWithMessageIfError(err error, code int, format string, args ...interface{})
FatalWithMessageIfError does the same than Error, then exit, if err is not nil
func Info(format string, args ...interface{})
Info prints a message in the std output prefixed with 'info'
func Success(format string, args ...interface{})
Success prints a message in sto output in green
Source Files
¶
Click to show internal directories.
Click to hide internal directories.