Documentation ¶ Index ¶ func NewUser(id int64, fullname, email string) *user type User type UserRepository Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewUser ¶ func NewUser(id int64, fullname, email string) *user Types ¶ type User ¶ type User interface { UUID() interface{} Id() int64 FullName() string Email() string SetFullName(fullName string) Clone() User } type UserRepository ¶ type UserRepository interface { GetById(id int64) User GetByUUID(uuid interface{}) User GetByEmail(email string) User VerifyAndGetUserFromCredentials(email, guessedPassword string) User Insert(fullName, email, rawPassword string) User Update(User) } Source Files ¶ View all Source files User.go UserRepository.go Click to show internal directories. Click to hide internal directories.