Documentation ¶
Overview ¶
Package mock_block is a generated GoMock package.
Index ¶
- type MockRepo
- func (m *MockRepo) EXPECT() *MockRepoMockRecorder
- func (m *MockRepo) Find(filter models.Block) (bool, models.Block, error)
- func (m *MockRepo) FindExtended(filter models.Block) (bool, models.Block, error)
- func (m *MockRepo) Last() (models.Block, error)
- func (m *MockRepo) List(limit, offset uint, since uint64) ([]models.Block, error)
- func (m *MockRepo) ListExtended(limit, offset uint, since uint64) ([]models.Block, error)
- type MockRepoMockRecorder
- func (mr *MockRepoMockRecorder) Find(filter interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) FindExtended(filter interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) Last() *gomock.Call
- func (mr *MockRepoMockRecorder) List(limit, offset, since interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) ListExtended(limit, offset, since interface{}) *gomock.Call
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) FindExtended ¶
FindExtended 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
Click to show internal directories.
Click to hide internal directories.