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 ¶
func (m *MockLinkService) EXPECT() *MockLinkServiceMockRecorder
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.
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.
Click to show internal directories.
Click to hide internal directories.