mocks

package
v0.0.0-...-9d52f33 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRepository

type UserRepository struct {
	mock.Mock
}

UserRepository is an autogenerated mock type for the UserRepository type

func (*UserRepository) Create

func (_m *UserRepository) Create(u models.User) models.User

Create provides a mock function with given fields: u

func (*UserRepository) Delete

func (_m *UserRepository) Delete(id int) bool

Delete provides a mock function with given fields: id

func (*UserRepository) Update

func (_m *UserRepository) Update(id int, u models.User) models.User

Update provides a mock function with given fields: id, u

func (*UserRepository) User

func (_m *UserRepository) User(id int) models.User

User provides a mock function with given fields: id

func (*UserRepository) Users

func (_m *UserRepository) Users() []models.User

Users provides a mock function with given fields:

Jump to

Keyboard shortcuts

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