BeforeRenderFunc public comment
Vladimir Bauer
9 years ago
| 128 | 128 |
return p
|
| 129 | 129 |
}
|
| 130 | 130 |
|
|
131 |
// BeforeRenderFunc accepts a func, which gets called before render process.
|
| 131 | 132 |
func (p *Progress) BeforeRenderFunc(f BeforeRender) *Progress {
|
| 132 | 133 |
if IsClosed(p.done) {
|
| 133 | 134 |
panic(ErrCallAfterStop)
|