Documentation ¶
Overview ¶
Package mock_usecase is a generated GoMock package.
Index ¶
- type MockMatch
- func (m *MockMatch) Create(ctx context.Context, name string) (*models.Match, error)
- func (m *MockMatch) EXPECT() *MockMatchMockRecorder
- func (m *MockMatch) GetById(ctx context.Context, id string) (*models.Match, error)
- func (m *MockMatch) GetByName(ctx context.Context, name string) (*models.Match, error)
- type MockMatchMockRecorder
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) EXPECT ¶
func (m *MockMatch) EXPECT() *MockMatchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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
Click to show internal directories.
Click to hide internal directories.