Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserEntity ¶
type UserEntity struct { Id string Username string Email string Password string CreatedAt time.Time UpdatedAt time.Time }
func NewUserEntity ¶
func NewUserEntity(data *dtos.UserDTO) (*UserEntity, *shared.Error)
func (*UserEntity) IsPasswordValid ¶
func (user *UserEntity) IsPasswordValid(password string) *shared.Error
func (*UserEntity) IsValid ¶
func (user *UserEntity) IsValid() *shared.Error
Click to show internal directories.
Click to hide internal directories.