*─────────────────────────────── Round-robin (default) ────────────────────────────────*/
| 32 | ────────────────────────────────*/ |
| 33 | |
| 34 | type RoundRobinPicker struct { |
| 35 | cnt atomic.Uint32 |
| 36 | } |
| 37 | |
| 38 | func (p *RoundRobinPicker) Next(total int) int { |
| 39 | if total == 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected