Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { *aggregates.AggregateRoot Id models.ValueObject[string] Email models.ValueObject[string] Username models.ValueObject[string] Password models.ValueObject[string] Verified models.ValueObject[bool] }
func FromPrimitives ¶
func FromPrimitives(userPrimitive *UserPrimitive) (*User, error)
func RandomUser ¶
func RandomUser() *User
func (*User) ToPrimitives ¶
func (user *User) ToPrimitives() *UserPrimitive
Click to show internal directories.
Click to hide internal directories.