repo

package
v0.0.0-...-ef3044c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL