mock_link

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: 3 Imported by: 0

Documentation

Overview

Package mock_link is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLinkRepo

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

MockLinkRepo is a mock of LinkRepo interface.

func NewMockLinkRepo

func NewMockLinkRepo(ctrl *gomock.Controller) *MockLinkRepo

NewMockLinkRepo creates a new mock instance.

func (*MockLinkRepo) EXPECT

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

func (*MockLinkRepo) Get

func (m *MockLinkRepo) Get(key string) (*models.Link, error)

Get mocks base method.

func (*MockLinkRepo) Save

func (m *MockLinkRepo) Save(link *models.Link) error

Save mocks base method.

type MockLinkRepoMockRecorder

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

MockLinkRepoMockRecorder is the mock recorder for MockLinkRepo.

func (*MockLinkRepoMockRecorder) Get

func (mr *MockLinkRepoMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockLinkRepoMockRecorder) Save

func (mr *MockLinkRepoMockRecorder) Save(link interface{}) *gomock.Call

Save indicates an expected call of Save.

Jump to

Keyboard shortcuts

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