Package ds (short for "data store") is a key-value store with hash indexes. It allows for rudimentary but lightning fast retrieval of grouped or relevant data without having to iterate over all objects in the store.
Define the primary key, indexed keys, and unique keys as tags on struct fields, and DS takes care of the rest.
Examples can be found on the documentation for the library