Documentation
¶
Overview ¶
Package mock_accountrepo is a generated GoMock package.
Index ¶
- type MockAccountRepo
- func (m *MockAccountRepo) Close(arg0 context.Context) error
- func (m *MockAccountRepo) EXPECT() *MockAccountRepoMockRecorder
- func (m *MockAccountRepo) GetAccountIdsByTopics(arg0 context.Context, arg1 []domain.Topic) ([]string, error)
- func (m *MockAccountRepo) GetTopicsByAccountId(arg0 context.Context, arg1 string) ([]domain.Topic, error)
- func (m *MockAccountRepo) Init(arg0 *app.App) error
- func (m *MockAccountRepo) Name() string
- func (m *MockAccountRepo) Run(arg0 context.Context) error
- func (m *MockAccountRepo) SetAccountTopics(arg0 context.Context, arg1 string, arg2 []domain.Topic) error
- type MockAccountRepoMockRecorder
- func (mr *MockAccountRepoMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) GetAccountIdsByTopics(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) GetTopicsByAccountId(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) Name() *gomock.Call
- func (mr *MockAccountRepoMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) SetAccountTopics(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountRepo ¶
type MockAccountRepo struct {
// contains filtered or unexported fields
}
MockAccountRepo is a mock of AccountRepo interface.
func NewMockAccountRepo ¶
func NewMockAccountRepo(ctrl *gomock.Controller) *MockAccountRepo
NewMockAccountRepo creates a new mock instance.
func (*MockAccountRepo) Close ¶
func (m *MockAccountRepo) Close(arg0 context.Context) error
Close mocks base method.
func (*MockAccountRepo) EXPECT ¶
func (m *MockAccountRepo) EXPECT() *MockAccountRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountRepo) GetAccountIdsByTopics ¶
func (m *MockAccountRepo) GetAccountIdsByTopics(arg0 context.Context, arg1 []domain.Topic) ([]string, error)
GetAccountIdsByTopics mocks base method.
func (*MockAccountRepo) GetTopicsByAccountId ¶ added in v0.0.4
func (m *MockAccountRepo) GetTopicsByAccountId(arg0 context.Context, arg1 string) ([]domain.Topic, error)
GetTopicsByAccountId mocks base method.
func (*MockAccountRepo) Init ¶
func (m *MockAccountRepo) Init(arg0 *app.App) error
Init mocks base method.
func (*MockAccountRepo) Run ¶
func (m *MockAccountRepo) Run(arg0 context.Context) error
Run mocks base method.
func (*MockAccountRepo) SetAccountTopics ¶
func (m *MockAccountRepo) SetAccountTopics(arg0 context.Context, arg1 string, arg2 []domain.Topic) error
SetAccountTopics mocks base method.
type MockAccountRepoMockRecorder ¶
type MockAccountRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountRepoMockRecorder is the mock recorder for MockAccountRepo.
func (*MockAccountRepoMockRecorder) Close ¶
func (mr *MockAccountRepoMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockAccountRepoMockRecorder) GetAccountIdsByTopics ¶
func (mr *MockAccountRepoMockRecorder) GetAccountIdsByTopics(arg0, arg1 any) *gomock.Call
GetAccountIdsByTopics indicates an expected call of GetAccountIdsByTopics.
func (*MockAccountRepoMockRecorder) GetTopicsByAccountId ¶ added in v0.0.4
func (mr *MockAccountRepoMockRecorder) GetTopicsByAccountId(arg0, arg1 any) *gomock.Call
GetTopicsByAccountId indicates an expected call of GetTopicsByAccountId.
func (*MockAccountRepoMockRecorder) Init ¶
func (mr *MockAccountRepoMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockAccountRepoMockRecorder) Name ¶
func (mr *MockAccountRepoMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockAccountRepoMockRecorder) Run ¶
func (mr *MockAccountRepoMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockAccountRepoMockRecorder) SetAccountTopics ¶
func (mr *MockAccountRepoMockRecorder) SetAccountTopics(arg0, arg1, arg2 any) *gomock.Call
SetAccountTopics indicates an expected call of SetAccountTopics.