MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / UpdateStatus

Method UpdateStatus

internal/repository/check.go:43–45  ·  view source on GitHub ↗

UpdateStatus 更新审核状态

(ctx context.Context, check domain.Check)

Source from the content-addressed store, hash-verified

41
42// UpdateStatus 更新审核状态
43func (r *checkRepository) UpdateStatus(ctx context.Context, check domain.Check) error {
44 return r.dao.UpdateStatus(ctx, toDAOCheck(check))
45}
46
47// FindAll 获取审核列表
48func (r *checkRepository) FindAll(ctx context.Context, pagination domain.Pagination) ([]domain.Check, error) {

Callers

nothing calls this directly

Calls 2

toDAOCheckFunction · 0.85
UpdateStatusMethod · 0.65

Tested by

no test coverage detected