Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrganizationGetter ¶
type OrganizationGetter struct {
// contains filtered or unexported fields
}
OrganizationGetter implements organization retrieval
func NewOrganizationGetter ¶
func NewOrganizationGetter(db *gorm.DB) OrganizationGetter
NewOrganizationGetter creates and OrganizationGetter
func (OrganizationGetter) Get ¶
func (g OrganizationGetter) Get(_ context.Context, id uint) (auth.Organization, error)
Get retrieves an organization by its ID
Click to show internal directories.
Click to hide internal directories.