package
0.32.1
Repository: https://github.com/adguardteam/golibs.git
Documentation: pkg.go.dev

# Functions

MapSetToString converts a [*MapSet] of values of an ordered type into a reproducible string.
MapSetToStringFunc is like [MapSetToString] but uses an explicit comparison function.
NewMapSet returns a new map set containing values.
NewRingBuffer initializes a new ring buffer with the given size.
NewSortedSliceSet returns a new *SortedSliceSet.

# Structs

KeyValue is a simple structure for pairs of values where one identifies the other.
MapSet is a set that uses a map as its storage.
RingBuffer is the generic implementation of ring buffer data structure.
SortedSliceSet is a simple set implementation that has a sorted set of values as its underlying storage.

# Type aliases

KeyValues is a slice of [KeyValue]s.