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

Interface CheckRepository

internal/repository/check.go:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type CheckRepository interface {
12 Create(ctx context.Context, check domain.Check) (int64, error)
13 UpdateStatus(ctx context.Context, check domain.Check) error
14 FindAll(ctx context.Context, pagination domain.Pagination) ([]domain.Check, error)
15 FindByID(ctx context.Context, checkID int64) (domain.Check, error)
16 FindByPostId(ctx context.Context, postID uint) (domain.Check, error)
17}
18
19type checkRepository struct {
20 dao dao.CheckDAO

Callers 5

CreateMethod · 0.65
UpdateStatusMethod · 0.65
FindAllMethod · 0.65
FindByIDMethod · 0.65
FindByPostIdMethod · 0.65

Implementers 2

checkRepositoryinternal/repository/check.go
checkDAOinternal/repository/dao/check.go

Calls

no outgoing calls

Tested by

no test coverage detected