Documentation
¶
Index ¶
- func Print(data interface{}) error
- func PrintError(format string, args ...interface{})
- func PrintInfo(format string, args ...interface{})
- func PrintResult(success bool, message string, data interface{}) error
- func PrintSuccess(format string, args ...interface{})
- func PrintWarning(format string, args ...interface{})
- func SetWriter(w io.Writer)
- func Setup(format string, pretty, quiet bool)
- type Format
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintError ¶
func PrintError(format string, args ...interface{})
PrintError prints an error message (always shown)
func PrintInfo ¶
func PrintInfo(format string, args ...interface{})
PrintInfo prints an info message (respects quiet mode)
func PrintResult ¶
PrintResult prints an operation result
func PrintSuccess ¶
func PrintSuccess(format string, args ...interface{})
PrintSuccess prints a success message (respects quiet mode)
func PrintWarning ¶
func PrintWarning(format string, args ...interface{})
PrintWarning prints a warning message
Types ¶
Click to show internal directories.
Click to hide internal directories.