Documentation ¶
Index ¶
- type OrganizationUsecase
- type OrganizationUsecaseImpl
- func (u *OrganizationUsecaseImpl) CreateOrganization(organization *domain.Organization) shared.Output
- func (u *OrganizationUsecaseImpl) GetAllOrganization(params *shared.Parameters) shared.Output
- func (u *OrganizationUsecaseImpl) GetOrganization(id uint) shared.Output
- func (u *OrganizationUsecaseImpl) GetTotalOrganization(params *shared.Parameters) shared.Output
- func (u *OrganizationUsecaseImpl) RemoveOrganization(id uint) shared.Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrganizationUsecase ¶
type OrganizationUsecase interface { CreateOrganization(*domain.Organization) shared.Output GetOrganization(uint) shared.Output GetAllOrganization(*shared.Parameters) shared.Output GetTotalOrganization(*shared.Parameters) shared.Output RemoveOrganization(uint) shared.Output }
OrganizationUsecase interface
type OrganizationUsecaseImpl ¶
type OrganizationUsecaseImpl struct {
// contains filtered or unexported fields
}
OrganizationUsecaseImpl struct
func NewOrganizationUsecaseImpl ¶
func NewOrganizationUsecaseImpl(OrganizationRepositoryRead, OrganizationRepositoryWrite repository.OrganizationRepository) *OrganizationUsecaseImpl
NewOrganizationUsecaseImpl function
func (*OrganizationUsecaseImpl) CreateOrganization ¶
func (u *OrganizationUsecaseImpl) CreateOrganization(organization *domain.Organization) shared.Output
CreateOrganization function
func (*OrganizationUsecaseImpl) GetAllOrganization ¶
func (u *OrganizationUsecaseImpl) GetAllOrganization(params *shared.Parameters) shared.Output
GetAllOrganization function
func (*OrganizationUsecaseImpl) GetOrganization ¶
func (u *OrganizationUsecaseImpl) GetOrganization(id uint) shared.Output
GetOrganization function
func (*OrganizationUsecaseImpl) GetTotalOrganization ¶
func (u *OrganizationUsecaseImpl) GetTotalOrganization(params *shared.Parameters) shared.Output
GetTotalOrganization function
func (*OrganizationUsecaseImpl) RemoveOrganization ¶
func (u *OrganizationUsecaseImpl) RemoveOrganization(id uint) shared.Output
RemoveOrganization function
Click to show internal directories.
Click to hide internal directories.