Documentation ¶
Index ¶
- func Template(destination io.Writer, name, text string, data interface{}) error
- type Level
- type UI
- func (ui *UI) EmphasizeInfoln(format string, args ...interface{})
- func (ui *UI) Errorln(format string, args ...interface{})
- func (ui *UI) Infoln(format string, args ...interface{})
- func (ui *UI) SetContext(level Level) *UI
- func (ui *UI) SetUserLevel(level Level) *UI
- func (ui *UI) Titleln(format string, args ...interface{})
- func (ui *UI) Verboseln(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Level ¶
type Level string
Level specifies the level of output that commands should print
const ( LevelVerbose Level = "Verbose" LevelInfo Level = "Info" LevelError Level = "Error" LevelSilent Level = "Silent" )
LevelVerbose includes all output
func (Level) OutputIsIncluded ¶
OutputIsIncluded returns true if levelA specifies that levelB should be included for output
Click to show internal directories.
Click to hide internal directories.