Documentation ¶
Index ¶
- type UseCase
- func (useCase UseCase) Create(user models.User) error
- func (useCase UseCase) GetByNickname(nickname string) (user models.User, err error)
- func (useCase UseCase) GetWithSameNicknameAndEmail(nickname, email string) (users models.Users, err error)
- func (useCase UseCase) UpdateByNickname(user models.User) (models.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UseCase ¶
type UseCase struct {
// contains filtered or unexported fields
}
func NewUseCase ¶
func NewUseCase(repository user.Repository) UseCase
func (UseCase) GetByNickname ¶
func (UseCase) GetWithSameNicknameAndEmail ¶
Click to show internal directories.
Click to hide internal directories.