Documentation ¶
Index ¶
- Constants
- func CursorColumn(n int)
- func CursorDown(n int)
- func CursorRestore()
- func CursorSave()
- func CursorUp(n int)
- func EraseRemainingLine()
- type Print
- func (p *Print) Background(color int) *Print
- func (p *Print) Blinking() *Print
- func (p *Print) Bold() *Print
- func (p *Print) Color(color int) *Print
- func (p *Print) Dim() *Print
- func (p *Print) Format(str string) string
- func (p *Print) Italic() *Print
- func (p *Print) Strikethrough() *Print
- func (p *Print) Underline() *Print
- type ProgressBar
Constants ¶
View Source
const ( Black = iota Red Green Yellow Blue Magenta Cyan White Default )
Variables ¶
This section is empty.
Functions ¶
func CursorColumn ¶
func CursorColumn(n int)
func CursorDown ¶
func CursorDown(n int)
func CursorRestore ¶
func CursorRestore()
func CursorSave ¶
func CursorSave()
func EraseRemainingLine ¶
func EraseRemainingLine()
Types ¶
type Print ¶
type Print struct {
// contains filtered or unexported fields
}
func (*Print) Background ¶
func (*Print) Strikethrough ¶
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
func NewProgressBar ¶
func NewProgressBar(width, maxValue int) *ProgressBar
func (*ProgressBar) Print ¶
func (p *ProgressBar) Print(value int)
Click to show internal directories.
Click to hide internal directories.