Documentation ¶
Index ¶
- func Debug(format string, a ...interface{})
- func Error(format string, a ...interface{})
- func Fatalln(format string, a ...interface{})
- func Info(format string, a ...interface{})
- func MarkDone()
- func Must(err error)
- func Success(format string, a ...interface{})
- func Warning(format string, a ...interface{})
- type Console
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Console ¶
type Console interface { Success(format string, a ...interface{}) Info(format string, a ...interface{}) Debug(format string, a ...interface{}) Warning(format string, a ...interface{}) Error(format string, a ...interface{}) Fatalln(format string, a ...interface{}) MarkDone() Must(err error) }
Console wraps from the fmt.Sprintf, by default, it implemented the colorConsole to provide the colorful output to the console and the ideaConsole to output with prefix for the plugin of intellij
func NewColorConsole ¶
NewColorConsole returns an instance of colorConsole
func NewIdeaConsole ¶
func NewIdeaConsole() Console
NewIdeaConsole returns an instance of ideaConsole
Click to show internal directories.
Click to hide internal directories.