mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRepo

type IRepo struct {
	mock.Mock
}

IRepo is an autogenerated mock type for the IRepo type

func (*IRepo) GetByEmail

func (_m *IRepo) GetByEmail(ctx contextx.Contextx, email string) (*user.Profile, error)

GetByEmail provides a mock function with given fields: ctx, email

func (*IRepo) GetByID

func (_m *IRepo) GetByID(ctx contextx.Contextx, id int64) (*user.Profile, error)

GetByID provides a mock function with given fields: ctx, id

func (*IRepo) GetByToken

func (_m *IRepo) GetByToken(ctx contextx.Contextx, token string) (*user.Profile, error)

GetByToken provides a mock function with given fields: ctx, token

func (*IRepo) Register

func (_m *IRepo) Register(ctx contextx.Contextx, newUser *user.Profile) (*user.Profile, error)

Register provides a mock function with given fields: ctx, newUser

func (*IRepo) UpdateToken

func (_m *IRepo) UpdateToken(ctx contextx.Contextx, updated *user.Profile) (*user.Profile, error)

UpdateToken provides a mock function with given fields: ctx, updated

Jump to

Keyboard shortcuts

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