package
Version:
v0.1.5
Opens a new window with list of versions in this module.
Published: Mar 19, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Add appends a new memory entry. Returns an error if the keyword already exists.
Remove deletes a memory entry by keyword (case-insensitive).
Save writes memory entries to disk.
type Entry struct {
Keyword string `json:"keyword"`
Content string `json:"content"`
}
Entry represents a single memory key-value pair.
FindMatching returns entries whose keywords appear in the input (case-insensitive).
List returns all memory entries.
Load reads all memory entries from disk. Returns empty slice if file not found.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.