memory

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() history.Store

Types

type ByCreatedAt

type ByCreatedAt []*history.Record

ByCreatedAt orders records the way a history is read: by event time, with the record ID breaking ties so the order is total.

func (ByCreatedAt) Len

func (a ByCreatedAt) Len() int

func (ByCreatedAt) Less

func (a ByCreatedAt) Less(i, j int) bool

func (ByCreatedAt) Swap

func (a ByCreatedAt) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL