Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepositoryRegister ¶
func NewServiceRegister ¶
func NewServiceRegister(repository Repository) *service
Types ¶
type InputRegister ¶
type Repository ¶
type Service ¶
type Service interface {
RegisterService(input *InputRegister) (*model.User, error)
}
type UserAlreadyExistsError ¶
type UserAlreadyExistsError struct {
// contains filtered or unexported fields
}
func (*UserAlreadyExistsError) Error ¶
func (e *UserAlreadyExistsError) Error() string
type UserRegistrationError ¶
type UserRegistrationError struct {
// contains filtered or unexported fields
}
func (*UserRegistrationError) Error ¶
func (e *UserRegistrationError) Error() string
Click to show internal directories.
Click to hide internal directories.