mocks

package
v0.0.0-...-0de774d Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 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 Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Delete

func (_m *Repository) Delete(c *customer.Customer) error

Delete provides a mock function with given fields: c

func (*Repository) GetByID

func (_m *Repository) GetByID(q string) (*customer.Customer, error)

GetByID provides a mock function with given fields: q

func (*Repository) Store

func (_m *Repository) Store(c *customer.Customer) error

Store provides a mock function with given fields: c

func (*Repository) Update

func (_m *Repository) Update(c *customer.Customer) error

Update provides a mock function with given fields: c

Jump to

Keyboard shortcuts

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