Start is equivalent to Range().Start, but should be preferred if only the start of the range is needed.
()
| 1810 | // Start is equivalent to Range().Start, but should be preferred if only the |
| 1811 | // start of the range is needed. |
| 1812 | func (gap GapIterator) Start() Key { |
| 1813 | if ps := gap.PrevSegment(); ps.Ok() { |
| 1814 | return ps.End() |
| 1815 | } |
| 1816 | return Functions{}.MinKey() |
| 1817 | } |
| 1818 | |
| 1819 | // End is equivalent to Range().End, but should be preferred if only the end of |
| 1820 | // the range is needed. |
no test coverage detected