mocks

package
v0.0.0-...-6e65144 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDBRepository

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

MockDBRepository is a mock of DBRepository interface

func NewMockDBRepository

func NewMockDBRepository(ctrl *gomock.Controller) *MockDBRepository

NewMockDBRepository creates a new mock instance

func (*MockDBRepository) EXPECT

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

func (*MockDBRepository) GetCircle

func (m *MockDBRepository) GetCircle(input database.GetCircleInput) (*model.GetCircle, error)

GetCircle mocks base method

func (*MockDBRepository) ListCategory

func (m *MockDBRepository) ListCategory(input database.ListCategoryInput) ([]*model.Category, error)

ListCategory mocks base method

func (*MockDBRepository) ListCircle

func (m *MockDBRepository) ListCircle(input database.ListCircleInput) ([]*model.Circle, error)

ListCircle mocks base method

func (*MockDBRepository) PostCircle

func (m *MockDBRepository) PostCircle(input database.PostCircleInput) error

PostCircle mocks base method

type MockDBRepositoryMockRecorder

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

MockDBRepositoryMockRecorder is the mock recorder for MockDBRepository

func (*MockDBRepositoryMockRecorder) GetCircle

func (mr *MockDBRepositoryMockRecorder) GetCircle(input interface{}) *gomock.Call

GetCircle indicates an expected call of GetCircle

func (*MockDBRepositoryMockRecorder) ListCategory

func (mr *MockDBRepositoryMockRecorder) ListCategory(input interface{}) *gomock.Call

ListCategory indicates an expected call of ListCategory

func (*MockDBRepositoryMockRecorder) ListCircle

func (mr *MockDBRepositoryMockRecorder) ListCircle(input interface{}) *gomock.Call

ListCircle indicates an expected call of ListCircle

func (*MockDBRepositoryMockRecorder) PostCircle

func (mr *MockDBRepositoryMockRecorder) PostCircle(input interface{}) *gomock.Call

PostCircle indicates an expected call of PostCircle

Jump to

Keyboard shortcuts

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