Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnippetRepo ¶
type SnippetUseCase ¶
type SnippetUseCase struct {
// contains filtered or unexported fields
}
func New ¶
func New(r SnippetRepo) *SnippetUseCase
func (*SnippetUseCase) CreateSnippet ¶
func (uc *SnippetUseCase) CreateSnippet(ctx context.Context, t entity.SnippetCreate) (int, error)
func (*SnippetUseCase) GetSnippet ¶
func (*SnippetUseCase) GetTenLatestSnippet ¶
Click to show internal directories.
Click to hide internal directories.