Documentation ¶
Index ¶
- type User
- func (user *User) AggregateType() string
- func (user *User) ApplyChange(event events.Event) error
- func (user *User) GetEmail() string
- func (user *User) GetID() uuid.UUID
- func (user *User) GetUsername() string
- func (user *User) HandleCommand(command commands.Command) error
- func (user *User) IncrementVersion()
- func (user *User) UpdateUpdatedAt(t time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { domain.BaseAggregate Username string Email string PasswordHash string }
func (*User) AggregateType ¶
func (*User) GetUsername ¶
func (*User) IncrementVersion ¶
func (user *User) IncrementVersion()
func (*User) UpdateUpdatedAt ¶
Click to show internal directories.
Click to hide internal directories.