mock_handler

package
v0.0.0-...-e10dee8 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_handler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLinkUsecase

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

MockLinkUsecase is a mock of LinkUsecase interface.

func NewMockLinkUsecase

func NewMockLinkUsecase(ctrl *gomock.Controller) *MockLinkUsecase

NewMockLinkUsecase creates a new mock instance.

func (m *MockLinkUsecase) CreateShortLink(ctx context.Context, linkRequest *dto.CreateLinkRequest) (*model.Link, error)

CreateShortLink mocks base method.

func (*MockLinkUsecase) EXPECT

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

func (m *MockLinkUsecase) GetFullLink(ctx context.Context, token string) (string, error)

GetFullLink mocks base method.

type MockLinkUsecaseMockRecorder

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

MockLinkUsecaseMockRecorder is the mock recorder for MockLinkUsecase.

func (mr *MockLinkUsecaseMockRecorder) CreateShortLink(ctx, linkRequest interface{}) *gomock.Call

CreateShortLink indicates an expected call of CreateShortLink.

func (mr *MockLinkUsecaseMockRecorder) GetFullLink(ctx, token interface{}) *gomock.Call

GetFullLink indicates an expected call of GetFullLink.

Jump to

Keyboard shortcuts

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