user

package
v0.0.0-...-dfb12f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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) Create

func (s *Service) Create(ctx context.Context, user *userModel.User) error

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, userId int) error

func (*Service) GetPercentOfAllUsers

func (s *Service) GetPercentOfAllUsers(ctx context.Context, percent int) ([]userModel.User, error)

func (*Service) GetSegments

func (s *Service) GetSegments(ctx context.Context, userId int) ([]segmentModel.Segment, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL