Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReviewRepository ¶
type ReviewRepository interface { Create(context.Context, review.Review) error Update(context.Context, *review.Review) error Get(ctx context.Context, id string) (*review.Review, error) GetLatestByUserAndWorkspace(ctx context.Context, userID, workspaceID string) (*review.Review, error) ListLatestByWorkspace(ctx context.Context, workspaceID string) ([]*review.Review, error) DismissAllInWorkspace(ctx context.Context, workspaceID string) error }
func NewReviewRepository ¶
func NewReviewRepository(db *sqlx.DB) ReviewRepository
Click to show internal directories.
Click to hide internal directories.