Documentation
¶
Overview ¶
Package mockdb is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (*db.Account, error)
- func (m *MockStore) DeleteAccount(arg0 context.Context, arg1 int64) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetAccount(arg0 context.Context, arg1 int64) (*db.Account, error)
- func (m *MockStore) GetAccountWithEmail(arg0 context.Context, arg1 string) (*db.Account, error)
- func (m *MockStore) ListAccount(arg0 context.Context, arg1 db.ListAccountParams) ([]*db.Account, error)
- func (m *MockStore) UpdateAccount(arg0 context.Context, arg1 db.UpdateAccountParams) (*db.Account, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccountWithEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) CreateAccount ¶
func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (*db.Account, error)
CreateAccount mocks base method.
func (*MockStore) DeleteAccount ¶
DeleteAccount mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) GetAccount ¶
GetAccount mocks base method.
func (*MockStore) GetAccountWithEmail ¶
GetAccountWithEmail mocks base method.
func (*MockStore) ListAccount ¶
func (m *MockStore) ListAccount(arg0 context.Context, arg1 db.ListAccountParams) ([]*db.Account, error)
ListAccount mocks base method.
func (*MockStore) UpdateAccount ¶
func (m *MockStore) UpdateAccount(arg0 context.Context, arg1 db.UpdateAccountParams) (*db.Account, error)
UpdateAccount mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) CreateAccount ¶
func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call
CreateAccount indicates an expected call of CreateAccount.
func (*MockStoreMockRecorder) DeleteAccount ¶
func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 interface{}) *gomock.Call
DeleteAccount indicates an expected call of DeleteAccount.
func (*MockStoreMockRecorder) GetAccount ¶
func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockStoreMockRecorder) GetAccountWithEmail ¶
func (mr *MockStoreMockRecorder) GetAccountWithEmail(arg0, arg1 interface{}) *gomock.Call
GetAccountWithEmail indicates an expected call of GetAccountWithEmail.
func (*MockStoreMockRecorder) ListAccount ¶
func (mr *MockStoreMockRecorder) ListAccount(arg0, arg1 interface{}) *gomock.Call
ListAccount indicates an expected call of ListAccount.
func (*MockStoreMockRecorder) UpdateAccount ¶
func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
UpdateAccount indicates an expected call of UpdateAccount.