Documentation ¶
Index ¶
Constants ¶
View Source
const EKUserCreated = mediator.EventKind("user.created")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventUserCreated ¶
func (EventUserCreated) Kind ¶
func (uc EventUserCreated) Kind() mediator.EventKind
type Repository ¶
type User ¶
type User struct { ID string `validate:"required"` Name string `validate:"required"` Email string `validate:"required,email"` HashedPassword []byte `copier:"Password"` Events mediator.EventCollection Version int Dirty int32 Deleted bool CreatedAt time.Time UpdatedAt time.Time }
func (*User) ChangePassword ¶
Click to show internal directories.
Click to hide internal directories.