isPercentageDistribution checks if a distribution is a percentage type
()
| 141 | |
| 142 | // isPercentageDistribution checks if a distribution is a percentage type |
| 143 | func (d *Distribution) isPercentageDistribution() bool { |
| 144 | return strings.HasSuffix(d.Distribution, "%") |
| 145 | } |
| 146 | |
| 147 | // processFixedDistributions handles the first pass: fixed amount distributions |
| 148 | func processFixedDistributions(distributions []Distribution, state *distributionState) error { |
no outgoing calls
no test coverage detected