Documentation ¶
Index ¶
- type LeveledOutput
- func (lw *LeveledOutput) Indent()
- func (lw *LeveledOutput) Newline() (int, error)
- func (lw *LeveledOutput) Printf(format string, args ...interface{}) (int, error)
- func (lw *LeveledOutput) Println(s string) (int, error)
- func (lw *LeveledOutput) UnIndent()
- func (lw *LeveledOutput) WithBlock(prefix string, callback func())
- func (lw *LeveledOutput) WithIfAndElse(prefix string, callback func(), callback2 func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeveledOutput ¶
LeveledOutput :
func (*LeveledOutput) Printf ¶
func (lw *LeveledOutput) Printf(format string, args ...interface{}) (int, error)
Printf :
func (*LeveledOutput) WithBlock ¶
func (lw *LeveledOutput) WithBlock(prefix string, callback func())
WithBlock :
func (*LeveledOutput) WithIfAndElse ¶
func (lw *LeveledOutput) WithIfAndElse(prefix string, callback func(), callback2 func())
WithIfAndElse :
Click to show internal directories.
Click to hide internal directories.