Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) AddTheme(arg0 models.Theme) error
- func (m *MockStorage) AddTopic(arg0 models.Topic) error
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) GetEmoji(arg0 storage.GetEmojiOptions) ([]models.Emoji, error)
- func (m *MockStorage) GetThemes(arg0 storage.GetThemeOptions) ([]models.Theme, error)
- func (m *MockStorage) GetTopics(arg0 storage.GetTopicOptions) ([]models.Topic, error)
- func (m *MockStorage) UpsertEmojiCount(arg0 models.Emoji, arg1 bool) (models.Emoji, error)
- func (m *MockStorage) UpsertURLCount(arg0 string, arg1 models.URLCount) (models.URLCount, error)
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) AddTheme(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) AddTopic(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetEmoji(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetThemes(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetTopics(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) UpsertEmojiCount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) UpsertURLCount(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance
func (*MockStorage) AddTheme ¶
func (m *MockStorage) AddTheme(arg0 models.Theme) error
AddTheme mocks base method
func (*MockStorage) AddTopic ¶
func (m *MockStorage) AddTopic(arg0 models.Topic) error
AddTopic mocks base method
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage) GetEmoji ¶
func (m *MockStorage) GetEmoji(arg0 storage.GetEmojiOptions) ([]models.Emoji, error)
GetEmoji mocks base method
func (*MockStorage) GetThemes ¶
func (m *MockStorage) GetThemes(arg0 storage.GetThemeOptions) ([]models.Theme, error)
GetThemes mocks base method
func (*MockStorage) GetTopics ¶
func (m *MockStorage) GetTopics(arg0 storage.GetTopicOptions) ([]models.Topic, error)
GetTopics mocks base method
func (*MockStorage) UpsertEmojiCount ¶
UpsertEmojiCount mocks base method
func (*MockStorage) UpsertURLCount ¶
UpsertURLCount mocks base method
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) AddTheme ¶
func (mr *MockStorageMockRecorder) AddTheme(arg0 interface{}) *gomock.Call
AddTheme indicates an expected call of AddTheme
func (*MockStorageMockRecorder) AddTopic ¶
func (mr *MockStorageMockRecorder) AddTopic(arg0 interface{}) *gomock.Call
AddTopic indicates an expected call of AddTopic
func (*MockStorageMockRecorder) GetEmoji ¶
func (mr *MockStorageMockRecorder) GetEmoji(arg0 interface{}) *gomock.Call
GetEmoji indicates an expected call of GetEmoji
func (*MockStorageMockRecorder) GetThemes ¶
func (mr *MockStorageMockRecorder) GetThemes(arg0 interface{}) *gomock.Call
GetThemes indicates an expected call of GetThemes
func (*MockStorageMockRecorder) GetTopics ¶
func (mr *MockStorageMockRecorder) GetTopics(arg0 interface{}) *gomock.Call
GetTopics indicates an expected call of GetTopics
func (*MockStorageMockRecorder) UpsertEmojiCount ¶
func (mr *MockStorageMockRecorder) UpsertEmojiCount(arg0, arg1 interface{}) *gomock.Call
UpsertEmojiCount indicates an expected call of UpsertEmojiCount
func (*MockStorageMockRecorder) UpsertURLCount ¶
func (mr *MockStorageMockRecorder) UpsertURLCount(arg0, arg1 interface{}) *gomock.Call
UpsertURLCount indicates an expected call of UpsertURLCount