Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
type UserRepository interface { // GetByID returns a user by its ID. GetByID(id int64) (user *entity.User, err error) // GetByEmail returns a user by its email. GetByEmail(email string) (user *entity.User, err error) // Create creates a new user. Create(user *entity.User) (err error) // Update updates a user. Update(user *entity.User) (err error) }
Click to show internal directories.
Click to hide internal directories.