memory

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TodayDate

func TodayDate() string

Types

type Store

type Store struct {
	Workspace string
	Dir       string
	LongTerm  string
	History   string
}

func New

func New(workspace string) *Store

func (*Store) AppendHistory added in v0.2.3

func (s *Store) AppendHistory(entry string) error

func (*Store) EnsureInitialized

func (s *Store) EnsureInitialized() error

func (*Store) GetContext

func (s *Store) GetContext() string

func (*Store) ReadLongTerm

func (s *Store) ReadLongTerm() string

func (*Store) ReadToday

func (s *Store) ReadToday() string

func (*Store) TodayPath

func (s *Store) TodayPath() string

func (*Store) WriteLongTerm added in v0.2.3

func (s *Store) WriteLongTerm(content string) error

Jump to

Keyboard shortcuts

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