===== 基础 CRUD ===== Save 保存或更新 Memory 如果 Namespace + Key 已存在,则更新;否则创建新记录
(ctx context.Context, memory *LogicMemory)
| 12 | // Save 保存或更新 Memory |
| 13 | // 如果 Namespace + Key 已存在,则更新;否则创建新记录 |
| 14 | Save(ctx context.Context, memory *LogicMemory) error |
| 15 | |
| 16 | // Get 获取单个 Memory |
| 17 | // 返回 ErrMemoryNotFound 如果不存在 |
no outgoing calls
no test coverage detected