Documentation ¶
Index ¶
- type Service
- func (s Service) CreateUser(ctx context.Context, user store.NewUser) (store.User, error)
- func (s Service) DeleteUser(ctx context.Context, id uuid.UUID) error
- func (s Service) GetUser(ctx context.Context, id uuid.UUID) (store.User, error)
- func (s Service) ListUsers(ctx context.Context) ([]store.User, error)
- func (s Service) UpdateUser(ctx context.Context, id uuid.UUID, patch store.UserPatch) (store.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Repo store.Repository
}
func (Service) CreateUser ¶
Click to show internal directories.
Click to hide internal directories.