Here we define the simplest iterator -- the Null iterator. It contains nothing. It is the empty set. Often times, queries that contain one of these match nothing, so it's important to give it a special iterator.
| 53 | // It is the empty set. Often times, queries that contain one of these match nothing, |
| 54 | // so it's important to give it a special iterator. |
| 55 | type Null struct{} |
| 56 | |
| 57 | // Fairly useless New function. |
| 58 | func NewNull() *Null { |
nothing calls this directly
no outgoing calls
no test coverage detected