README ¶ progress installation go get -u github.com/chenquan/progress Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Process func (p *Process) Done() func (p *Process) Increment() func (p *Process) SetFormat(format string) func (p *Process) SetLen(n int) func (p *Process) SetPrefix(prefix string) func (p *Process) SetTotal(v float64) func (p *Process) SetValue(v float64) func (p *Process) SetWriter(w io.Writer) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Process ¶ type Process struct { Total float64 Len int Format string W io.Writer Prefix string Cancel func() // contains filtered or unexported fields } func (*Process) Done ¶ func (p *Process) Done() func (*Process) Increment ¶ func (p *Process) Increment() func (*Process) SetFormat ¶ func (p *Process) SetFormat(format string) func (*Process) SetLen ¶ func (p *Process) SetLen(n int) func (*Process) SetPrefix ¶ func (p *Process) SetPrefix(prefix string) func (*Process) SetTotal ¶ func (p *Process) SetTotal(v float64) func (*Process) SetValue ¶ func (p *Process) SetValue(v float64) func (*Process) SetWriter ¶ func (p *Process) SetWriter(w io.Writer) Source Files ¶ View all Source files process.go Click to show internal directories. Click to hide internal directories.