Skip to content

creachadair/mds

Repository files navigation

mds

GoDoc CI

This repository defines generic data structures in Go.

Data Structures

Most of the types in this module share common behaviors:

  • A Clear method that discards all the contents of the container.
  • A Peek method that returns an order statistic of the container.
  • An Each method that iterates the container in its natural order (usable as a range function).
  • An IsEmpty method that reports whether the container is empty.
  • A Len method that reports the number of elements in the container.

Packages

Utilities