Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sagikazarmark/modern-go-application
/ MarkAsDone
Method
MarkAsDone
internal/app/mga/todo/service.go:25–25 ·
view source on GitHub ↗
MarkAsDone marks a todo as done.
(ctx context.Context, id string)
Source
from the content-addressed store, hash-verified
23
24
// MarkAsDone marks a todo as done.
25
MarkAsDone(ctx context.Context, id string) error
26
}
27
28
type
service
struct
{
Callers
8
TestList_MarkAsDone
Function · 0.95
TestList_CannotMarkANonExistingTodoDone
Function · 0.95
TestList_StoringDoneTodoFails
Function · 0.95
runMarkAsDone
Function · 0.65
MarkTodoAsDone
Method · 0.65
MarkAsDone
Method · 0.65
MarkAsDone
Method · 0.65
MakeMarkAsDoneEndpoint
Function · 0.65
Implementers
4
service
internal/app/mga/todo/service.go
loggingMiddleware
internal/app/mga/todo/tododriver/middl
instrumentationMiddleware
internal/app/mga/todo/tododriver/middl
grpcServer
internal/app/mga/todo/tododriver/trans
Calls
no outgoing calls
Tested by
3
TestList_MarkAsDone
Function · 0.76
TestList_CannotMarkANonExistingTodoDone
Function · 0.76
TestList_StoringDoneTodoFails
Function · 0.76