makeKey 生成存储键
(namespace, key string)
| 23 | |
| 24 | // makeKey 生成存储键 |
| 25 | func makeKey(namespace, key string) string { |
| 26 | return namespace + ":" + key |
| 27 | } |
| 28 | |
| 29 | // Save 保存或更新 Memory |
| 30 | func (s *InMemoryStore) Save(ctx context.Context, memory *LogicMemory) error { |
no outgoing calls