edge-connect-client/internal/ports/driving/organization_service.go
Stephan Lo 1c13c93512 refactor(arch): Relocate domain and ports packages
Moves the `domain` and `ports` packages from `internal/core` to `internal`.

This refactoring simplifies the directory structure by elevating the core architectural concepts of domain and ports to the top level of the `internal` directory. The `core` directory is now removed as its only purpose was to house these two packages.

All import paths across the project have been updated to reflect this change.
2025-10-09 01:16:31 +02:00

16 lines
553 B
Go

package driving
import (
"context"
"edp.buildth.ing/DevFW-CICD/edge-connect-client/internal/domain"
)
// OrganizationService defines the driving port for managing organizations.
// This is the primary interface for interacting with the application's organization logic.
type OrganizationService interface {
Create(ctx context.Context, org *domain.Organization) error
Get(ctx context.Context, name string) (*domain.Organization, error)
Update(ctx context.Context, org *domain.Organization) error
Delete(ctx context.Context, name string) error
}