mocks

package
v0.0.0-...-b1be0e3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) UserCreate

func (_m *Service) UserCreate(ctx context.Context, user *form.UserForm) (*model.UserModel, int, error)

UserCreate provides a mock function with given fields: ctx, user

func (*Service) UserDelete

func (_m *Service) UserDelete(ctx context.Context, id string) (int, error)

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

func (*Service) UserFind

func (_m *Service) UserFind(ctx context.Context) ([]*model.UserModel, int, error)

UserFind provides a mock function with given fields: ctx

func (*Service) UserFindByID

func (_m *Service) UserFindByID(ctx context.Context, id string) (*model.UserModel, int, error)

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

func (*Service) UserUpdate

func (_m *Service) UserUpdate(ctx context.Context, user *form.UserForm, id string) (*model.UserModel, int, error)

UserUpdate provides a mock function with given fields: ctx, user, id

Jump to

Keyboard shortcuts

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