mock

package
v0.0.0-...-ea7ac5c Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPictureService

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

MockPictureService is a mock of PictureService interface.

func NewMockPictureService

func NewMockPictureService(ctrl *gomock.Controller) *MockPictureService

NewMockPictureService creates a new mock instance.

func (*MockPictureService) EXPECT

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

func (*MockPictureService) GetByDate

func (m *MockPictureService) GetByDate(ctx context.Context, date string) (model.Picture, error)

GetByDate mocks base method.

func (*MockPictureService) List

List mocks base method.

type MockPictureServiceMockRecorder

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

MockPictureServiceMockRecorder is the mock recorder for MockPictureService.

func (*MockPictureServiceMockRecorder) GetByDate

func (mr *MockPictureServiceMockRecorder) GetByDate(ctx, date interface{}) *gomock.Call

GetByDate indicates an expected call of GetByDate.

func (*MockPictureServiceMockRecorder) List

func (mr *MockPictureServiceMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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