Documentation ¶
Overview ¶
Package mock_command is a generated GoMock package.
Index ¶
- type MockCustomSearchRepository
- type MockCustomSearchRepositoryMockRecorder
- type MockScoreRepository
- func (m *MockScoreRepository) Decr(arg0 context.Context, arg1 string) (int64, error)
- func (m *MockScoreRepository) EXPECT() *MockScoreRepositoryMockRecorder
- func (m *MockScoreRepository) Incr(arg0 context.Context, arg1 string) (int64, error)
- func (m *MockScoreRepository) LastUsername() string
- func (m *MockScoreRepository) UserScore(arg0 context.Context, arg1 string) (int64, error)
- type MockScoreRepositoryMockRecorder
- func (mr *MockScoreRepositoryMockRecorder) Decr(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScoreRepositoryMockRecorder) Incr(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockScoreRepositoryMockRecorder) LastUsername() *gomock.Call
- func (mr *MockScoreRepositoryMockRecorder) UserScore(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCustomSearchRepository ¶
type MockCustomSearchRepository struct {
// contains filtered or unexported fields
}
MockCustomSearchRepository is a mock of CustomSearchRepository interface.
func NewMockCustomSearchRepository ¶
func NewMockCustomSearchRepository(ctrl *gomock.Controller) *MockCustomSearchRepository
NewMockCustomSearchRepository creates a new mock instance.
func (*MockCustomSearchRepository) EXPECT ¶
func (m *MockCustomSearchRepository) EXPECT() *MockCustomSearchRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCustomSearchRepository) SearchImage ¶
func (m *MockCustomSearchRepository) SearchImage(arg0 context.Context, arg1 string) (*customsearch.Result, error)
SearchImage mocks base method.
type MockCustomSearchRepositoryMockRecorder ¶
type MockCustomSearchRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCustomSearchRepositoryMockRecorder is the mock recorder for MockCustomSearchRepository.
func (*MockCustomSearchRepositoryMockRecorder) LGTM ¶
func (mr *MockCustomSearchRepositoryMockRecorder) LGTM(arg0, arg1 interface{}) *gomock.Call
LGTM indicates an expected call of LGTM.
func (*MockCustomSearchRepositoryMockRecorder) SearchImage ¶
func (mr *MockCustomSearchRepositoryMockRecorder) SearchImage(arg0, arg1 interface{}) *gomock.Call
SearchImage indicates an expected call of SearchImage.
type MockScoreRepository ¶
type MockScoreRepository struct {
// contains filtered or unexported fields
}
MockScoreRepository is a mock of ScoreRepository interface.
func NewMockScoreRepository ¶
func NewMockScoreRepository(ctrl *gomock.Controller) *MockScoreRepository
NewMockScoreRepository creates a new mock instance.
func (*MockScoreRepository) EXPECT ¶
func (m *MockScoreRepository) EXPECT() *MockScoreRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScoreRepository) LastUsername ¶
func (m *MockScoreRepository) LastUsername() string
LastUsername mocks base method.
type MockScoreRepositoryMockRecorder ¶
type MockScoreRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockScoreRepositoryMockRecorder is the mock recorder for MockScoreRepository.
func (*MockScoreRepositoryMockRecorder) Decr ¶
func (mr *MockScoreRepositoryMockRecorder) Decr(arg0, arg1 interface{}) *gomock.Call
Decr indicates an expected call of Decr.
func (*MockScoreRepositoryMockRecorder) Incr ¶
func (mr *MockScoreRepositoryMockRecorder) Incr(arg0, arg1 interface{}) *gomock.Call
Incr indicates an expected call of Incr.
func (*MockScoreRepositoryMockRecorder) LastUsername ¶
func (mr *MockScoreRepositoryMockRecorder) LastUsername() *gomock.Call
LastUsername indicates an expected call of LastUsername.
func (*MockScoreRepositoryMockRecorder) UserScore ¶
func (mr *MockScoreRepositoryMockRecorder) UserScore(arg0, arg1 interface{}) *gomock.Call
UserScore indicates an expected call of UserScore.