Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserService ¶
func NewUserService(conf UserServiceConfig) appsvc.UserService
Types ¶
type UserService ¶
type UserService struct { UserRepo repository.UserRepository UserSvc service.UserService RepoContext shared.RepositoryContext Eventer sharedevent.Eventer }
UserService user application service
func (*UserService) Update ¶
func (s *UserService) Update(_ context.Context, cmd *command.UpdateUserCommand) error
type UserServiceConfig ¶
type UserServiceConfig struct { dig.In UserRepo repository.UserRepository UserSvc service.UserService RepoContext shared.RepositoryContext Eventer sharedevent.Eventer }
func NewUserServiceConfig ¶
func NewUserServiceConfig(userRepo repository.UserRepository, userSvc service.UserService, repoContext shared.RepositoryContext, eventer sharedevent.Eventer) UserServiceConfig
Click to show internal directories.
Click to hide internal directories.