Return a `sizes.RefGrouper` that wraps its argument and behaves like it except that it also logs its decisions to an `io.Writer`.
(rg sizes.RefGrouper, w io.Writer)
| 17 | // Return a `sizes.RefGrouper` that wraps its argument and behaves |
| 18 | // like it except that it also logs its decisions to an `io.Writer`. |
| 19 | func NewShowRefGrouper(rg sizes.RefGrouper, w io.Writer) sizes.RefGrouper { |
| 20 | return showRefGrouper{ |
| 21 | RefGrouper: rg, |
| 22 | w: w, |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | func (rg showRefGrouper) Categorize(refname string) (bool, []sizes.RefGroupSymbol) { |
| 27 | walk, symbols := rg.RefGrouper.Categorize(refname) |
no outgoing calls
no test coverage detected