Documentation ¶
Index ¶
- type UserInteractor
- func (interactor *UserInteractor) Create(u models.User) (user models.User, err error)
- func (interactor *UserInteractor) Delete(id uuid.UUID) (err error)
- func (interactor *UserInteractor) Index() (users models.Users, err error)
- func (interactor *UserInteractor) Show(id uuid.UUID) (user models.User, err error)
- func (interactor *UserInteractor) Update(id uuid.UUID, u models.User) (user models.User, err error)
- type UserRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserInteractor ¶
type UserInteractor struct {
UserRepository UserRepository
}
func (*UserInteractor) Index ¶
func (interactor *UserInteractor) Index() (users models.Users, err error)
Click to show internal directories.
Click to hide internal directories.