()
| 224 | } |
| 225 | |
| 226 | func (it *iter) current() *subIter { |
| 227 | switch { |
| 228 | case it.back.eof: |
| 229 | return &it.buf |
| 230 | case it.buf.eof: |
| 231 | return &it.back |
| 232 | case it.buf.key <= it.back.key: |
| 233 | return &it.buf |
| 234 | default: |
| 235 | return &it.back |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | func (it *iter) Next() bool { |
| 240 | // Call Next on both iterators for the first time, if we haven't |
no outgoing calls
no test coverage detected