(name string, sR organizations.OrganizationRepository)
| 20 | } |
| 21 | |
| 22 | func NewOrganizationRequirement(name string, sR organizations.OrganizationRepository) *organizationAPIRequirement { |
| 23 | req := &organizationAPIRequirement{} |
| 24 | req.name = name |
| 25 | req.orgRepo = sR |
| 26 | return req |
| 27 | } |
| 28 | |
| 29 | func (req *organizationAPIRequirement) Execute() error { |
| 30 | var apiErr error |
no outgoing calls
no test coverage detected