mock_blog

package
v0.0.0-...-6237511 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_blog is a generated GoMock package.

Package mock_blog is a generated GoMock package.

Package mock_blog is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCategoryRepository

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

MockCategoryRepository is a mock of CategoryRepository interface

func NewMockCategoryRepository

func NewMockCategoryRepository(ctrl *gomock.Controller) *MockCategoryRepository

NewMockCategoryRepository creates a new mock instance

func (*MockCategoryRepository) EXPECT

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

func (*MockCategoryRepository) FindAll

func (m *MockCategoryRepository) FindAll(arg0 context.Context) ([]blog.Category, error)

FindAll mocks base method

func (*MockCategoryRepository) FindAllByIDs

func (m *MockCategoryRepository) FindAllByIDs(arg0 context.Context, arg1 interface{}) ([]blog.Category, error)

FindAllByIDs mocks base method

func (*MockCategoryRepository) FindByID

func (m *MockCategoryRepository) FindByID(arg0 context.Context, arg1 interface{}) (blog.Category, error)

FindByID mocks base method

type MockCategoryRepositoryMockRecorder

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

MockCategoryRepositoryMockRecorder is the mock recorder for MockCategoryRepository

func (*MockCategoryRepositoryMockRecorder) FindAll

func (mr *MockCategoryRepositoryMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockCategoryRepositoryMockRecorder) FindAllByIDs

func (mr *MockCategoryRepositoryMockRecorder) FindAllByIDs(arg0, arg1 interface{}) *gomock.Call

FindAllByIDs indicates an expected call of FindAllByIDs

func (*MockCategoryRepositoryMockRecorder) FindByID

func (mr *MockCategoryRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

type MockPostRepository

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

MockPostRepository is a mock of PostRepository interface

func NewMockPostRepository

func NewMockPostRepository(ctrl *gomock.Controller) *MockPostRepository

NewMockPostRepository creates a new mock instance

func (*MockPostRepository) Create

func (m *MockPostRepository) Create(arg0 context.Context, arg1 string) (blog.Post, error)

Create mocks base method

func (*MockPostRepository) EXPECT

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

func (*MockPostRepository) FindAll

func (m *MockPostRepository) FindAll(arg0 context.Context, arg1 blog.PostQuery) ([]blog.Post, error)

FindAll mocks base method

func (*MockPostRepository) FindByID

func (m *MockPostRepository) FindByID(arg0 context.Context, arg1 interface{}) (blog.Post, error)

FindByID mocks base method

func (*MockPostRepository) Save

func (m *MockPostRepository) Save(arg0 context.Context, arg1 interface{}, arg2 blog.PostQuery) (blog.Post, error)

Save mocks base method

type MockPostRepositoryMockRecorder

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

MockPostRepositoryMockRecorder is the mock recorder for MockPostRepository

func (*MockPostRepositoryMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockPostRepositoryMockRecorder) FindAll

func (mr *MockPostRepositoryMockRecorder) FindAll(arg0, arg1 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockPostRepositoryMockRecorder) FindByID

func (mr *MockPostRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockPostRepositoryMockRecorder) Save

func (mr *MockPostRepositoryMockRecorder) Save(arg0, arg1, arg2 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockTagRepository

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

MockTagRepository is a mock of TagRepository interface

func NewMockTagRepository

func NewMockTagRepository(ctrl *gomock.Controller) *MockTagRepository

NewMockTagRepository creates a new mock instance

func (*MockTagRepository) EXPECT

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

func (*MockTagRepository) FindAll

func (m *MockTagRepository) FindAll(arg0 context.Context) ([]blog.Tag, error)

FindAll mocks base method

func (*MockTagRepository) FindAllByIDs

func (m *MockTagRepository) FindAllByIDs(arg0 context.Context, arg1 interface{}) ([]blog.Tag, error)

FindAllByIDs mocks base method

func (*MockTagRepository) FindByID

func (m *MockTagRepository) FindByID(arg0 context.Context, arg1 interface{}) (blog.Tag, error)

FindByID mocks base method

type MockTagRepositoryMockRecorder

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

MockTagRepositoryMockRecorder is the mock recorder for MockTagRepository

func (*MockTagRepositoryMockRecorder) FindAll

func (mr *MockTagRepositoryMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockTagRepositoryMockRecorder) FindAllByIDs

func (mr *MockTagRepositoryMockRecorder) FindAllByIDs(arg0, arg1 interface{}) *gomock.Call

FindAllByIDs indicates an expected call of FindAllByIDs

func (*MockTagRepositoryMockRecorder) FindByID

func (mr *MockTagRepositoryMockRecorder) FindByID(arg0, arg1 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

Jump to

Keyboard shortcuts

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