BarFillerMiddleware godoc update
Vladimir Bauer
5 years ago
| 87 | 87 | }) |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | // BarFillerMiddleware provides a way to augment default BarFiller. | |
| 90 | // BarFillerMiddleware provides a way to augment the underlying BarFiller. | |
| 91 | 91 | func BarFillerMiddleware(middle func(BarFiller) BarFiller) BarOption { |
| 92 | 92 | return func(s *bState) { |
| 93 | 93 | s.middleware = middle |