Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
type UserRepository interface { InsertUser(user entity.User) (entity.User, error) FindByUsername(username string) (entity.User, error) UpdateUser(username string, user entity.User) (entity.User, error) GetUserProfilePic(username string) (entity.UserImage, error) UpdateUserProfilePic(username string, file *multipart.FileHeader) (entity.UserImage, error) DeleteUserProfilePic(username string) error VerifyUserEmail(username string) error }
func NewUserRepository ¶
func NewUserRepository(db *gorm.DB) UserRepository
Click to show internal directories.
Click to hide internal directories.