mocks

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 2 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) AddUser

func (_m *UserService) AddUser(user *entity.User) (*entity.User, error)

AddUser provides a mock function with given fields: user

func (*UserService) DeleteUser

func (_m *UserService) DeleteUser(id string) error

DeleteUser provides a mock function with given fields: id

func (*UserService) GetAll

func (_m *UserService) GetAll() (*[]entity.User, error)

GetAll provides a mock function with given fields:

func (*UserService) GetUser

func (_m *UserService) GetUser(id string) (*entity.User, error)

GetUser provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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