mock_entity

package
v0.0.0-...-3c15023 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_entity is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockArticleRepository

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

MockArticleRepository is a mock of ArticleRepository interface

func NewMockArticleRepository

func NewMockArticleRepository(ctrl *gomock.Controller) *MockArticleRepository

NewMockArticleRepository creates a new mock instance

func (*MockArticleRepository) Delete

func (m *MockArticleRepository) Delete(id int64) error

Delete mocks base method

func (*MockArticleRepository) EXPECT

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

func (*MockArticleRepository) Get

Get mocks base method

func (*MockArticleRepository) Put

func (m *MockArticleRepository) Put(arg0 *entity.Article) (int64, error)

Put mocks base method

type MockArticleRepositoryMockRecorder

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

MockArticleRepositoryMockRecorder is the mock recorder for MockArticleRepository

func (*MockArticleRepositoryMockRecorder) Delete

func (mr *MockArticleRepositoryMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockArticleRepositoryMockRecorder) Get

func (mr *MockArticleRepositoryMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockArticleRepositoryMockRecorder) Put

func (mr *MockArticleRepositoryMockRecorder) Put(arg0 interface{}) *gomock.Call

Put indicates an expected call of Put

Jump to

Keyboard shortcuts

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