mocks

package
v0.0.0-...-7f3b7f6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: Apache-2.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 UserService

type UserService struct {
	mock.Mock
}

UserService is an autogenerated mock type for the UserService type

func (*UserService) Delete

func (_m *UserService) Delete(ctx context.Context, id int64) (int64, error)

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

func (*UserService) Get

func (_m *UserService) Get(ctx context.Context) ([]model.User, error)

Get provides a mock function with given fields: ctx

func (*UserService) Save

func (_m *UserService) Save(ctx context.Context, user *model.User) (int64, error)

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

func (*UserService) Update

func (_m *UserService) Update(ctx context.Context, id int64, user *model.User) (int64, error)

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

Jump to

Keyboard shortcuts

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