Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface {
ReadComments(ctx context.Context, username string) ([]*model.Comment, error)
CreateComment(ctx context.Context, input *model.CreateCommentInput) error
UpdateComment(ctx context.Context, input *model.UpdateCommentInput) error
DeleteComment(ctx context.Context, input *model.DeleteCommentInput) error
UpsertLike(ctx context.Context, input *model.UpsertLikeInput) error
}
Click to show internal directories.
Click to hide internal directories.