mocks

package
v0.0.0-...-e765db0 Latest Latest
Warning

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

Go to latest
Published: May 22, 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) GetByUsername

func (_m *IRepo) GetByUsername(ctx contextx.Contextx, username string) (*user.Profile, error)

GetByUsername provides a mock function with given fields: ctx, username

func (*IRepo) Register

func (_m *IRepo) Register(ctx contextx.Contextx, username string, password string) (*user.Profile, error)

Register provides a mock function with given fields: ctx, username, password

Jump to

Keyboard shortcuts

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