add db
This commit is contained in:
@@ -48,10 +48,10 @@ func (mr *MockIStorageMockRecorder) Close() *gomock.Call {
|
||||
}
|
||||
|
||||
// GetAllUsersByChatID mocks base method.
|
||||
func (m *MockIStorage) GetAllUsersByChatID(ctx context.Context, chatID string) ([]storage.User, error) {
|
||||
func (m *MockIStorage) GetAllUsersByChatID(ctx context.Context, chatID string) ([]*storage.User, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "GetAllUsersByChatID", ctx, chatID)
|
||||
ret0, _ := ret[0].([]storage.User)
|
||||
ret0, _ := ret[0].([]*storage.User)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
@@ -63,7 +63,7 @@ func (mr *MockIStorageMockRecorder) GetAllUsersByChatID(ctx, chatID interface{})
|
||||
}
|
||||
|
||||
// UpsertUser mocks base method.
|
||||
func (m *MockIStorage) UpsertUser(ctx context.Context, user storage.User) error {
|
||||
func (m *MockIStorage) UpsertUser(ctx context.Context, user *storage.User) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "UpsertUser", ctx, user)
|
||||
ret0, _ := ret[0].(error)
|
||||
|
||||
Reference in New Issue
Block a user