Documentation ¶
Overview ¶
Package mock_learn is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetAllLessons() ([]learn.Lesson, error)
- func (m *MockService) GetLesson(arg0, arg1 string, arg2, arg3 []string, arg4 khulnasoft.Type) (*learn.Lesson, error)
- func (m *MockService) LearnEndpoint(arg0 *config.Config) (string, error)
- type MockServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetAllLessons ¶
func (m *MockService) GetAllLessons() ([]learn.Lesson, error)
GetAllLessons mocks base method.
func (*MockService) GetLesson ¶
func (m *MockService) GetLesson(arg0, arg1 string, arg2, arg3 []string, arg4 khulnasoft.Type) (*learn.Lesson, error)
GetLesson mocks base method.
func (*MockService) LearnEndpoint ¶
func (m *MockService) LearnEndpoint(arg0 *config.Config) (string, error)
LearnEndpoint mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) GetAllLessons ¶
func (mr *MockServiceMockRecorder) GetAllLessons() *gomock.Call
GetAllLessons indicates an expected call of GetAllLessons.
func (*MockServiceMockRecorder) GetLesson ¶
func (mr *MockServiceMockRecorder) GetLesson(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetLesson indicates an expected call of GetLesson.
func (*MockServiceMockRecorder) LearnEndpoint ¶
func (mr *MockServiceMockRecorder) LearnEndpoint(arg0 interface{}) *gomock.Call
LearnEndpoint indicates an expected call of LearnEndpoint.
Click to show internal directories.
Click to hide internal directories.