{"modulePath":"github.com/kernelplex/evercore","version":"v0.0.43","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package user\n\n## Types\n\n```go\ntype UserAggregate struct {\n\tevercore.StateAggregate[UserState]\n}\n```\nevercore:aggregate\n\n```go\ntype UserCreatedEvent struct {\n\tEmail        *string `json:\"email\"`\n\tPasswordHash *string `json:\"passwordHash\"`\n\tFirstName    *string `json:\"firstName\"`\n\tLastName     *string `json:\"lastName\"`\n\tDisplayName  *string `json:\"displayName\"`\n}\n```\nevercore:state-event\n\n```go\ntype UserState struct {\n\tEmail                 string  `json:\"email\"`\n\tPasswordHash          string  `json:\"passwordHash\"`\n\tFirstName             string  `json:\"firstName\"`\n\tLastName              string  `json:\"lastName\"`\n\tDisplayName           string  `json:\"displayName\"`\n\tResetToken            *string `json:\"resetToken,omitempty\"`\n\tLastLogin             int64   `json:\"lastLogin,omitempty\"`\n\tLastLoginAttempt      int64   `json:\"lastLoginAttempt,omitempty\"`\n\tFailedLoginAttempts   int64   `json:\"failedLoginAttempts,omitempty\"`\n\tTwoFactorSharedSecret *string `json:\"twoFactorSharedSecret,omitempty\"`\n\tRoles                 []int64 `json:\"roles,omitempty\"`\n}\n```\n\n```go\ntype UserUpdatedEvent struct {\n\tEmail        *string `json:\"email\"`\n\tPasswordHash *string `json:\"passwordHash\"`\n\tFirstName    *string `json:\"firstName\"`\n\tLastName     *string `json:\"lastName\"`\n\tDisplayName  *string `json:\"displayName\"`\n}\n```\nevercore:state-event\n\n","path":"github.com/kernelplex/evercore/integrationtests/user","name":"user","synopsis":"","isRedistributable":true}
