mocks

package
v0.0.0-...-9d48049 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: Unlicense 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 FeedService

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

FeedService is a mock of FeedService interface.

func NewFeedService

func NewFeedService(ctrl *gomock.Controller) *FeedService

NewFeedService creates a new mock instance.

func (*FeedService) EXPECT

func (m *FeedService) EXPECT() *FeedServiceMockRecorder

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

func (*FeedService) FetchItems

func (m *FeedService) FetchItems(arg0 int) ([]*item.Item, error)

FetchItems mocks base method.

func (*FeedService) ListFeeds

func (m *FeedService) ListFeeds() ([]*feed.Feed, error)

ListFeeds mocks base method.

type FeedServiceMockRecorder

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

FeedServiceMockRecorder is the mock recorder for FeedService.

func (*FeedServiceMockRecorder) FetchItems

func (mr *FeedServiceMockRecorder) FetchItems(arg0 any) *gomock.Call

FetchItems indicates an expected call of FetchItems.

func (*FeedServiceMockRecorder) ListFeeds

func (mr *FeedServiceMockRecorder) ListFeeds() *gomock.Call

ListFeeds indicates an expected call of ListFeeds.

type ItemService

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

ItemService is a mock of ItemService interface.

func NewItemService

func NewItemService(ctrl *gomock.Controller) *ItemService

NewItemService creates a new mock instance.

func (*ItemService) EXPECT

func (m *ItemService) EXPECT() *ItemServiceMockRecorder

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

func (*ItemService) UpsertItems

func (m *ItemService) UpsertItems(arg0 *item.UpsertItemsCommand) error

UpsertItems mocks base method.

type ItemServiceMockRecorder

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

ItemServiceMockRecorder is the mock recorder for ItemService.

func (*ItemServiceMockRecorder) UpsertItems

func (mr *ItemServiceMockRecorder) UpsertItems(arg0 any) *gomock.Call

UpsertItems indicates an expected call of UpsertItems.

Jump to

Keyboard shortcuts

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