mock_repository

package
v0.0.0-...-de806f4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockURLStore

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

MockURLStore is a mock of URLStore interface.

func NewMockURLStore

func NewMockURLStore(ctrl *gomock.Controller) *MockURLStore

NewMockURLStore creates a new mock instance.

func (*MockURLStore) Create

func (m *MockURLStore) Create(arg0 context.Context, arg1 *entity.TinyURL) error

Create mocks base method.

func (*MockURLStore) EXPECT

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

func (*MockURLStore) Find

func (m *MockURLStore) Find(arg0 context.Context, arg1 string) (*entity.TinyURL, error)

Find mocks base method.

type MockURLStoreMockRecorder

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

MockURLStoreMockRecorder is the mock recorder for MockURLStore.

func (*MockURLStoreMockRecorder) Create

func (mr *MockURLStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockURLStoreMockRecorder) Find

func (mr *MockURLStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find.

Jump to

Keyboard shortcuts

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