mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-15 02:16:56 +00:00
test: add GetDefault method to stubAgentStore.
This commit is contained in:
1 parent
8d513763f2
commit
df02ab77f2
1 file changed
+1
@@ -44,6 +44,7 @@ func (s *stubAgentStore) DeleteUserContextFile(_ context.Context, _ uuid.UUID, _
|
||||
func (s *stubAgentStore) Create(_ context.Context, _ *store.AgentData) error { return nil }
|
||||
func (s *stubAgentStore) GetByKey(_ context.Context, _ string) (*store.AgentData, error) { return nil, nil }
|
||||
func (s *stubAgentStore) GetByID(_ context.Context, _ uuid.UUID) (*store.AgentData, error) { return nil, nil }
|
||||
func (s *stubAgentStore) GetDefault(_ context.Context) (*store.AgentData, error) { return nil, nil }
|
||||
func (s *stubAgentStore) Update(_ context.Context, _ uuid.UUID, _ map[string]any) error { return nil }
|
||||
func (s *stubAgentStore) Delete(_ context.Context, _ uuid.UUID) error { return nil }
|
||||
func (s *stubAgentStore) List(_ context.Context, _ string) ([]store.AgentData, error) { return nil, nil }
|
||||
|
||||
Reference in new issue
Block a user