Documentation ¶
Overview ¶
Package mock_twitter_tweet is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockQuerier ¶
type MockQuerier struct {
// contains filtered or unexported fields
}
MockQuerier is a mock of Querier interface
func NewMockQuerier ¶
func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier
NewMockQuerier creates a new mock instance
func (*MockQuerier) EXPECT ¶
func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQuerier) GetTweetByID ¶
func (m *MockQuerier) GetTweetByID(ctx context.Context, id int64) (twitter_tweet.TwitterTweet, error)
GetTweetByID mocks base method
func (*MockQuerier) GetTweetsByUserID ¶
func (m *MockQuerier) GetTweetsByUserID(ctx context.Context, userID int64) ([]twitter_tweet.TwitterTweet, error)
GetTweetsByUserID mocks base method
type MockQuerierMockRecorder ¶
type MockQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockQuerierMockRecorder is the mock recorder for MockQuerier
func (*MockQuerierMockRecorder) GetTweetByID ¶
func (mr *MockQuerierMockRecorder) GetTweetByID(ctx, id interface{}) *gomock.Call
GetTweetByID indicates an expected call of GetTweetByID
func (*MockQuerierMockRecorder) GetTweetsByUserID ¶
func (mr *MockQuerierMockRecorder) GetTweetsByUserID(ctx, userID interface{}) *gomock.Call
GetTweetsByUserID indicates an expected call of GetTweetsByUserID
Click to show internal directories.
Click to hide internal directories.