Documentation
¶
Index ¶
- type Comment
- type CreateCommentInput
- type DBComment
- type DeleteCommentInput
- type Model
- func (m *Model) CreateComment(ctx context.Context, input *CreateCommentInput) error
- func (m *Model) DeleteComment(ctx context.Context, input *DeleteCommentInput) error
- func (m *Model) ReadComments(ctx context.Context, username string) ([]*Comment, error)
- func (m *Model) UpdateComment(ctx context.Context, input *UpdateCommentInput) error
- func (m *Model) UpsertLike(ctx context.Context, input *UpsertLikeInput) error
- type Reply
- type UpdateCommentInput
- type UpsertLikeInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCommentInput ¶
type DeleteCommentInput ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) CreateComment ¶
func (m *Model) CreateComment(ctx context.Context, input *CreateCommentInput) error
func (*Model) DeleteComment ¶
func (m *Model) DeleteComment(ctx context.Context, input *DeleteCommentInput) error
func (*Model) ReadComments ¶
func (*Model) UpdateComment ¶
func (m *Model) UpdateComment(ctx context.Context, input *UpdateCommentInput) error
func (*Model) UpsertLike ¶
func (m *Model) UpsertLike(ctx context.Context, input *UpsertLikeInput) error
type UpdateCommentInput ¶
type UpsertLikeInput ¶
Click to show internal directories.
Click to hide internal directories.