mock_links

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_links is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLinkService

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

MockLinkService is a mock of LinkService interface.

func NewMockLinkService

func NewMockLinkService(ctrl *gomock.Controller) *MockLinkService

NewMockLinkService creates a new mock instance.

func (*MockLinkService) EXPECT

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

func (*MockLinkService) GetOriginalFromShorten

func (m *MockLinkService) GetOriginalFromShorten(shortLink string) (string, error)

GetOriginalFromShorten mocks base method.

func (*MockLinkService) Shorten

func (m *MockLinkService) Shorten(longLink string) (string, error)

Shorten mocks base method.

type MockLinkServiceMockRecorder

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

MockLinkServiceMockRecorder is the mock recorder for MockLinkService.

func (*MockLinkServiceMockRecorder) GetOriginalFromShorten

func (mr *MockLinkServiceMockRecorder) GetOriginalFromShorten(shortLink interface{}) *gomock.Call

GetOriginalFromShorten indicates an expected call of GetOriginalFromShorten.

func (*MockLinkServiceMockRecorder) Shorten

func (mr *MockLinkServiceMockRecorder) Shorten(longLink interface{}) *gomock.Call

Shorten indicates an expected call of Shorten.

Jump to

Keyboard shortcuts

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