Documentation ¶
Index ¶
- type Service
- func (s *Service) Create(ctx context.Context, user *userModel.User) error
- func (s *Service) Delete(ctx context.Context, userId int) error
- func (s *Service) GetPercentOfAllUsers(ctx context.Context, percent int) ([]userModel.User, error)
- func (s *Service) GetSegments(ctx context.Context, userId int) ([]segmentModel.Segment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(userRepository userRepository) *Service
func (*Service) GetPercentOfAllUsers ¶
func (*Service) GetSegments ¶
Click to show internal directories.
Click to hide internal directories.