Documentation ¶
Index ¶
- type OrganizationRepository
- type OrganizationRepositoryGorm
- func (organizationRepositoryGorm *OrganizationRepositoryGorm) Count(params *shared.Parameters) shared.Output
- func (organizationRepositoryGorm *OrganizationRepositoryGorm) Delete(organization *domain.Organization) shared.Output
- func (organizationRepositoryGorm *OrganizationRepositoryGorm) FindAll(params *shared.Parameters) shared.Output
- func (organizationRepositoryGorm *OrganizationRepositoryGorm) FindByID(id uint) shared.Output
- func (organizationRepositoryGorm *OrganizationRepositoryGorm) Save(organization *domain.Organization) shared.Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrganizationRepository ¶
type OrganizationRepository interface { Save(*domain.Organization) shared.Output Delete(*domain.Organization) shared.Output FindByID(uint) shared.Output FindAll(*shared.Parameters) shared.Output Count(*shared.Parameters) shared.Output }
OrganizationRepository interface
type OrganizationRepositoryGorm ¶
type OrganizationRepositoryGorm struct {
// contains filtered or unexported fields
}
OrganizationRepositoryGorm struct
func NewOrganizationRepositoryGorm ¶
func NewOrganizationRepositoryGorm(db *gorm.DB) *OrganizationRepositoryGorm
NewOrganizationRepositoryGorm function
func (*OrganizationRepositoryGorm) Count ¶
func (organizationRepositoryGorm *OrganizationRepositoryGorm) Count(params *shared.Parameters) shared.Output
Count function
func (*OrganizationRepositoryGorm) Delete ¶
func (organizationRepositoryGorm *OrganizationRepositoryGorm) Delete(organization *domain.Organization) shared.Output
Delete function
func (*OrganizationRepositoryGorm) FindAll ¶
func (organizationRepositoryGorm *OrganizationRepositoryGorm) FindAll(params *shared.Parameters) shared.Output
FindAll function
func (*OrganizationRepositoryGorm) FindByID ¶
func (organizationRepositoryGorm *OrganizationRepositoryGorm) FindByID(id uint) shared.Output
FindByID function
func (*OrganizationRepositoryGorm) Save ¶
func (organizationRepositoryGorm *OrganizationRepositoryGorm) Save(organization *domain.Organization) shared.Output
Save function
Click to show internal directories.
Click to hide internal directories.