Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegisterRepository ¶
func NewRegisterService ¶
func NewRegisterService(repository Repository) *service
Types ¶
type RegisterInput ¶
type Repository ¶
type Service ¶
type Service interface {
RegisterService(input *RegisterInput) (*model.User, error)
}
type UserAlreadyExistsError ¶
func (*UserAlreadyExistsError) Error ¶
func (e *UserAlreadyExistsError) Error() string
type UserRegistrationError ¶
func (*UserRegistrationError) Error ¶
func (e *UserRegistrationError) Error() string
Click to show internal directories.
Click to hide internal directories.