mock_block

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_block is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepo

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

MockRepo is a mock of Repo interface

func NewMockRepo

func NewMockRepo(ctrl *gomock.Controller) *MockRepo

NewMockRepo creates a new mock instance

func (*MockRepo) EXPECT

func (m *MockRepo) EXPECT() *MockRepoMockRecorder

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

func (*MockRepo) Find

func (m *MockRepo) Find(filter models.Block) (bool, models.Block, error)

Find mocks base method

func (*MockRepo) FindExtended

func (m *MockRepo) FindExtended(filter models.Block) (bool, models.Block, error)

FindExtended mocks base method

func (*MockRepo) Last

func (m *MockRepo) Last() (models.Block, error)

Last mocks base method

func (*MockRepo) List

func (m *MockRepo) List(limit, offset uint, since uint64) ([]models.Block, error)

List mocks base method

func (*MockRepo) ListExtended

func (m *MockRepo) ListExtended(limit, offset uint, since uint64) ([]models.Block, error)

ListExtended mocks base method

type MockRepoMockRecorder

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

MockRepoMockRecorder is the mock recorder for MockRepo

func (*MockRepoMockRecorder) Find

func (mr *MockRepoMockRecorder) Find(filter interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockRepoMockRecorder) FindExtended

func (mr *MockRepoMockRecorder) FindExtended(filter interface{}) *gomock.Call

FindExtended indicates an expected call of FindExtended

func (*MockRepoMockRecorder) Last

func (mr *MockRepoMockRecorder) Last() *gomock.Call

Last indicates an expected call of Last

func (*MockRepoMockRecorder) List

func (mr *MockRepoMockRecorder) List(limit, offset, since interface{}) *gomock.Call

List indicates an expected call of List

func (*MockRepoMockRecorder) ListExtended

func (mr *MockRepoMockRecorder) ListExtended(limit, offset, since interface{}) *gomock.Call

ListExtended indicates an expected call of ListExtended

Jump to

Keyboard shortcuts

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