mockdb

package
v0.0.0-...-ded5120 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockdb is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) AddIngredient

func (m *MockStore) AddIngredient(arg0 context.Context, arg1 db.AddIngredientParams) (db.Ingredient, error)

AddIngredient mocks base method.

func (*MockStore) DeleteIngredient

func (m *MockStore) DeleteIngredient(arg0 context.Context, arg1 int64) error

DeleteIngredient mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) GetIngreditent

func (m *MockStore) GetIngreditent(arg0 context.Context, arg1 int64) (db.Ingredient, error)

GetIngreditent mocks base method.

func (*MockStore) ListIngredients

func (m *MockStore) ListIngredients(arg0 context.Context, arg1 db.ListIngredientsParams) ([]db.Ingredient, error)

ListIngredients mocks base method.

func (*MockStore) UpdateIngredient

func (m *MockStore) UpdateIngredient(arg0 context.Context, arg1 db.UpdateIngredientParams) (db.Ingredient, error)

UpdateIngredient mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) AddIngredient

func (mr *MockStoreMockRecorder) AddIngredient(arg0, arg1 interface{}) *gomock.Call

AddIngredient indicates an expected call of AddIngredient.

func (*MockStoreMockRecorder) DeleteIngredient

func (mr *MockStoreMockRecorder) DeleteIngredient(arg0, arg1 interface{}) *gomock.Call

DeleteIngredient indicates an expected call of DeleteIngredient.

func (*MockStoreMockRecorder) GetIngreditent

func (mr *MockStoreMockRecorder) GetIngreditent(arg0, arg1 interface{}) *gomock.Call

GetIngreditent indicates an expected call of GetIngreditent.

func (*MockStoreMockRecorder) ListIngredients

func (mr *MockStoreMockRecorder) ListIngredients(arg0, arg1 interface{}) *gomock.Call

ListIngredients indicates an expected call of ListIngredients.

func (*MockStoreMockRecorder) UpdateIngredient

func (mr *MockStoreMockRecorder) UpdateIngredient(arg0, arg1 interface{}) *gomock.Call

UpdateIngredient indicates an expected call of UpdateIngredient.

Jump to

Keyboard shortcuts

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