package
3.4.2
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Functions

Collect collects an interator into a slice.
CollectInto collects the elements of an iterator into a provided slice which is returned.
general helper, in this case created for DedupeIter[T,T].
convenience method for creating an Orderable implementation for a type dynamically by passing in a value and a comparison function This is useful for types that are not under our control, such as built-in types and for reducing boilerplate in testware/etc.
Iterators _must_ be sorted.

# Constants

# Structs

DedupeIter is a deduplicating iterator which creates an Iterator[B] from a sequence of Iterator[A].

# Interfaces

Iterator is the basic iterator type with the common functions for advancing and retrieving the current value.

# Type aliases