Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserUsecase ¶
type UserUsecase interface { CreateUser(*domain.User) shared.Output GetUser(uint) shared.Output GetAllUser(*shared.Parameters) shared.Output GetTotalUser(*shared.Parameters) shared.Output RemoveUser(uint) shared.Output }
UserUsecase interface
type UserUsecaseImpl ¶
type UserUsecaseImpl struct {
// contains filtered or unexported fields
}
UserUsecaseImpl struct
func NewUserUsecaseImpl ¶
func NewUserUsecaseImpl(userRepositoryRead, userRepositoryWrite repository.UserRepository, organizationRepository organizationRepository.OrganizationRepository) *UserUsecaseImpl
NewUserUsecaseImpl function
func (*UserUsecaseImpl) CreateUser ¶
func (u *UserUsecaseImpl) CreateUser(user *domain.User) shared.Output
CreateUser function
func (*UserUsecaseImpl) RemoveUser ¶
func (u *UserUsecaseImpl) RemoveUser(id uint) shared.Output
RemoveUser function
Click to show internal directories.
Click to hide internal directories.