mock_usecase

package
v0.0.0-...-0133d04 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_usecase is a generated GoMock package.

Package mock_usecase is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCreateBookmark

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

MockCreateBookmark is a mock of CreateBookmark interface

func NewMockCreateBookmark

func NewMockCreateBookmark(ctrl *gomock.Controller) *MockCreateBookmark

NewMockCreateBookmark creates a new mock instance

func (*MockCreateBookmark) Create

func (m *MockCreateBookmark) Create(ctx context.Context, bookmark *entity.Bookmark) error

Create mocks base method

func (*MockCreateBookmark) EXPECT

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

type MockCreateBookmarkMockRecorder

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

MockCreateBookmarkMockRecorder is the mock recorder for MockCreateBookmark

func (*MockCreateBookmarkMockRecorder) Create

func (mr *MockCreateBookmarkMockRecorder) Create(ctx, bookmark interface{}) *gomock.Call

Create indicates an expected call of Create

type MockRaindropRepository

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

MockRaindropRepository is a mock of RaindropRepository interface

func NewMockRaindropRepository

func NewMockRaindropRepository(ctrl *gomock.Controller) *MockRaindropRepository

NewMockRaindropRepository creates a new mock instance

func (*MockRaindropRepository) EXPECT

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

func (*MockRaindropRepository) GetCollections

func (m *MockRaindropRepository) GetCollections(ctx context.Context) ([]*entity.Collection, error)

GetCollections mocks base method

func (*MockRaindropRepository) ParseURL

ParseURL mocks base method

func (*MockRaindropRepository) SaveRaindrop

func (m *MockRaindropRepository) SaveRaindrop(ctx context.Context, raindrop *entity.Raindrop) error

SaveRaindrop mocks base method

type MockRaindropRepositoryMockRecorder

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

MockRaindropRepositoryMockRecorder is the mock recorder for MockRaindropRepository

func (*MockRaindropRepositoryMockRecorder) GetCollections

func (mr *MockRaindropRepositoryMockRecorder) GetCollections(ctx interface{}) *gomock.Call

GetCollections indicates an expected call of GetCollections

func (*MockRaindropRepositoryMockRecorder) ParseURL

func (mr *MockRaindropRepositoryMockRecorder) ParseURL(ctx, url interface{}) *gomock.Call

ParseURL indicates an expected call of ParseURL

func (*MockRaindropRepositoryMockRecorder) SaveRaindrop

func (mr *MockRaindropRepositoryMockRecorder) SaveRaindrop(ctx, raindrop interface{}) *gomock.Call

SaveRaindrop indicates an expected call of SaveRaindrop

Jump to

Keyboard shortcuts

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