ConditionalIndex builds an index based on a condition specified by a passed user function. This function may examine the passed object and return a boolean to encapsulate an arbitrarily complex conditional.
| 631 | // user function. This function may examine the passed object and return a |
| 632 | // boolean to encapsulate an arbitrarily complex conditional. |
| 633 | type ConditionalIndex struct { |
| 634 | Conditional ConditionalIndexFunc |
| 635 | } |
| 636 | |
| 637 | // ConditionalIndexFunc is the required function interface for a |
| 638 | // ConditionalIndex. |
nothing calls this directly
no outgoing calls
no test coverage detected