Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreateType uint32 = 1 DeleteType uint32 = 2 )
Variables ¶
View Source
var ( ErrCommentTextEmpty = errors.New("comment text is empty") ErrInValidActionType = errors.New("invalid action type") ErrInvalidId = errors.New("invalid id") )
View Source
var ProviderSet = wire.NewSet(NewCommentUseCase)
ProviderSet is biz providers.
Functions ¶
This section is empty.
Types ¶
type CommentRepo ¶
type CommentUseCase ¶
type CommentUseCase struct {
// contains filtered or unexported fields
}
func NewCommentUseCase ¶
func NewCommentUseCase(cr CommentRepo, logger log.Logger) *CommentUseCase
func (*CommentUseCase) CommentAction ¶
func (*CommentUseCase) GetCommentList ¶
Click to show internal directories.
Click to hide internal directories.