mock_usecase

package
v0.0.0-...-cdffa6e Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_usecase is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMatch

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

MockMatch is a mock of Match interface

func NewMockMatch

func NewMockMatch(ctrl *gomock.Controller) *MockMatch

NewMockMatch creates a new mock instance

func (*MockMatch) Create

func (m *MockMatch) Create(ctx context.Context, name string) (*models.Match, error)

Create mocks base method

func (*MockMatch) EXPECT

func (m *MockMatch) EXPECT() *MockMatchMockRecorder

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

func (*MockMatch) GetById

func (m *MockMatch) GetById(ctx context.Context, id string) (*models.Match, error)

GetById mocks base method

func (*MockMatch) GetByName

func (m *MockMatch) GetByName(ctx context.Context, name string) (*models.Match, error)

GetByName mocks base method

type MockMatchMockRecorder

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

MockMatchMockRecorder is the mock recorder for MockMatch

func (*MockMatchMockRecorder) Create

func (mr *MockMatchMockRecorder) Create(ctx, name interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockMatchMockRecorder) GetById

func (mr *MockMatchMockRecorder) GetById(ctx, id interface{}) *gomock.Call

GetById indicates an expected call of GetById

func (*MockMatchMockRecorder) GetByName

func (mr *MockMatchMockRecorder) GetByName(ctx, name interface{}) *gomock.Call

GetByName indicates an expected call of GetByName

Jump to

Keyboard shortcuts

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