repo

package
v0.0.0-...-47d3968 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserRepository

func NewUserRepository(db *gorm.DB) domain.UserRepository

Types

type MockUserRepo

type MockUserRepo struct {
	mock.Mock
}

func (*MockUserRepo) GetByEmail

func (m *MockUserRepo) GetByEmail(email string) (user domain.User, wallet domain.Wallet, err error)

func (*MockUserRepo) Insert

func (m *MockUserRepo) Insert(fullname, email, hashedPassword string, isVerified bool) error

Jump to

Keyboard shortcuts

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