package
0.0.0-20240208133358-b46fc268ba2c
Repository: https://github.com/diptanw/go-toolkit.git
Documentation: pkg.go.dev

# Functions

NewInMemory return a new instance on InMemory storage for a given type.

# Variables

ErrMissingID is an error when the entity ID is missing.
ErrNotFound is an error when record is not found.

# Structs

InMemory is a simple in-memory storage.

# Interfaces

Record is an interface that defines record's requirements.

# Type aliases

ID is a type that represents record's unique identifier.