mocks

package
v0.0.0-...-62f0cde Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 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 AttributesRepository

type AttributesRepository struct {
	mock.Mock
}

AttributesRepository is an autogenerated mock type for the AttributesRepository type

func (*AttributesRepository) FetchAll

func (_m *AttributesRepository) FetchAll(ctx context.Context) ([]models.Attributes, error)

FetchAll provides a mock function with given fields: ctx

type AttributesServices

type AttributesServices struct {
	mock.Mock
}

AttributesServices is an autogenerated mock type for the AttributesServices type

func (*AttributesServices) FetchAll

func (_m *AttributesServices) FetchAll(ctx context.Context) ([]models.Attributes, error)

FetchAll provides a mock function with given fields: ctx

type ProductsRepository

type ProductsRepository struct {
	mock.Mock
}

ProductsRepository is an autogenerated mock type for the ProductsRepository type

func (*ProductsRepository) FetchAll

func (_m *ProductsRepository) FetchAll(ctx context.Context) ([]models.Products, error)

FetchAll provides a mock function with given fields: ctx

func (*ProductsRepository) GetByID

func (_m *ProductsRepository) GetByID(ctx context.Context, id int) ([]models.Products, error)

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

type ProductsServices

type ProductsServices struct {
	mock.Mock
}

ProductsServices is an autogenerated mock type for the ProductsServices type

func (*ProductsServices) FetchAll

func (_m *ProductsServices) FetchAll(ctx context.Context) ([]models.Products, error)

FetchAll provides a mock function with given fields: ctx

func (*ProductsServices) GetByID

func (_m *ProductsServices) GetByID(ctx context.Context, id int) ([]models.Products, error)

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

Jump to

Keyboard shortcuts

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