mocks

package
v0.0.0-...-e9b73c5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 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) GetDetail

func (_m *Repository) GetDetail(ProductId int) (product.Product, error)

GetDetail provides a mock function with given fields: ProductId

func (*Repository) GetProduct

func (_m *Repository) GetProduct(CategoryId int, param string) ([]product.Product, error)

GetProduct provides a mock function with given fields: CategoryId, param

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) GetDetail

func (_m *Service) GetDetail(ProductId int) (product.Product, error)

GetDetail provides a mock function with given fields: ProductId

func (*Service) GetProduct

func (_m *Service) GetProduct(CategoryId int, param string) ([]product.Product, error)

GetProduct provides a mock function with given fields: CategoryId, param

Jump to

Keyboard shortcuts

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