Files
RenewCMS/domain/gateways/IUserRepository.go
T

12 lines
311 B
Go

package gateways
import "GohCMS2/domain/user"
type IUserRepository interface {
Get(id uint32) (user.User, error)
GetByUsername(username string) (user.User, error)
GetAll() []user.User
Create(user user.User) (user.User, error)
UpdateVerificationStatus(userId uint32, isVerified bool) (user.User, error)
}