| 152 | func applyModelSelector(entries []resources.PriceEntry, sel ModelSelector) (selected []resources.PriceEntry, effectiveRate decimal.Decimal, isAmortized bool) { |
| 153 | // Find all candidates that match the selector. |
| 154 | type candidate struct { |
| 155 | idx int |
| 156 | rate decimal.Decimal |
| 157 | amrt bool |
| 158 | } |
| 159 | var candidates []candidate |
| 160 | |
| 161 | for i, e := range entries { |
nothing calls this directly
no outgoing calls
no test coverage detected