MCPcopy Create free account
hub / github.com/MarioCarrion/todo-api-microservice-example / Create

Method Create

internal/memcached/task.go:24–24  ·  view source on GitHub ↗
(ctx context.Context, params internal.CreateParams)

Source from the content-addressed store, hash-verified

22
23type TaskStore interface {
24 Create(ctx context.Context, params internal.CreateParams) (internal.Task, error)
25 Delete(ctx context.Context, id string) error
26 Find(ctx context.Context, id string) (internal.Task, error)
27 Update(ctx context.Context, id string, params internal.UpdateParams) error

Callers 3

TestTask_CreateFunction · 0.65
TestTask_AllFunction · 0.65
CreateMethod · 0.65

Implementers 5

Taskinternal/postgresql/task.go
mockTaskRepositoryinternal/service/task_test.go
FakeTaskRepositoryinternal/service/servicetesting/task_r
Taskinternal/memcached/task.go
FakeTaskStoreinternal/memcached/memcachedtesting/ta

Calls

no outgoing calls

Tested by 2

TestTask_CreateFunction · 0.52
TestTask_AllFunction · 0.52