Versions in this module Expand all Collapse all v1 v1.0.0 Oct 9, 2024 Changes in this version + type UserRepositoryMock struct + CheckUsersExistenceMock mUserRepositoryMockCheckUsersExistence + CreateLogMock mUserRepositoryMockCreateLog + CreateMock mUserRepositoryMockCreate + DeleteMock mUserRepositoryMockDelete + GetByUsernameMock mUserRepositoryMockGetByUsername + GetMock mUserRepositoryMockGet + UpdateMock mUserRepositoryMockUpdate + func NewUserRepositoryMock(t minimock.Tester) *UserRepositoryMock + func (m *UserRepositoryMock) MinimockCheckUsersExistenceDone() bool + func (m *UserRepositoryMock) MinimockCheckUsersExistenceInspect() + func (m *UserRepositoryMock) MinimockCreateDone() bool + func (m *UserRepositoryMock) MinimockCreateInspect() + func (m *UserRepositoryMock) MinimockCreateLogDone() bool + func (m *UserRepositoryMock) MinimockCreateLogInspect() + func (m *UserRepositoryMock) MinimockDeleteDone() bool + func (m *UserRepositoryMock) MinimockDeleteInspect() + func (m *UserRepositoryMock) MinimockFinish() + func (m *UserRepositoryMock) MinimockGetByUsernameDone() bool + func (m *UserRepositoryMock) MinimockGetByUsernameInspect() + func (m *UserRepositoryMock) MinimockGetDone() bool + func (m *UserRepositoryMock) MinimockGetInspect() + func (m *UserRepositoryMock) MinimockUpdateDone() bool + func (m *UserRepositoryMock) MinimockUpdateInspect() + func (m *UserRepositoryMock) MinimockWait(timeout mm_time.Duration) + func (mmCheckUsersExistence *UserRepositoryMock) CheckUsersExistence(ctx context.Context, usernames []string) (qp1 *db.Query, err error) + func (mmCheckUsersExistence *UserRepositoryMock) CheckUsersExistenceAfterCounter() uint64 + func (mmCheckUsersExistence *UserRepositoryMock) CheckUsersExistenceBeforeCounter() uint64 + func (mmCreate *UserRepositoryMock) Create(ctx context.Context, info *model.UserCreateInfo) (i1 int64, qp1 *db.Query, err error) + func (mmCreate *UserRepositoryMock) CreateAfterCounter() uint64 + func (mmCreate *UserRepositoryMock) CreateBeforeCounter() uint64 + func (mmCreateLog *UserRepositoryMock) CreateLog(ctx context.Context, action string, model string, modelId int64, ...) (err error) + func (mmCreateLog *UserRepositoryMock) CreateLogAfterCounter() uint64 + func (mmCreateLog *UserRepositoryMock) CreateLogBeforeCounter() uint64 + func (mmDelete *UserRepositoryMock) Delete(ctx context.Context, id int64) (qp1 *db.Query, err error) + func (mmDelete *UserRepositoryMock) DeleteAfterCounter() uint64 + func (mmDelete *UserRepositoryMock) DeleteBeforeCounter() uint64 + func (mmGet *UserRepositoryMock) Get(ctx context.Context, id int64) (up1 *model.User, qp1 *db.Query, err error) + func (mmGet *UserRepositoryMock) GetAfterCounter() uint64 + func (mmGet *UserRepositoryMock) GetBeforeCounter() uint64 + func (mmGetByUsername *UserRepositoryMock) GetByUsername(ctx context.Context, username string) (up1 *model.User, qp1 *db.Query, err error) + func (mmGetByUsername *UserRepositoryMock) GetByUsernameAfterCounter() uint64 + func (mmGetByUsername *UserRepositoryMock) GetByUsernameBeforeCounter() uint64 + func (mmUpdate *UserRepositoryMock) Update(ctx context.Context, info *model.UserUpdateInfo) (qp1 *db.Query, err error) + func (mmUpdate *UserRepositoryMock) UpdateAfterCounter() uint64 + func (mmUpdate *UserRepositoryMock) UpdateBeforeCounter() uint64 + type UserRepositoryMockCheckUsersExistenceExpectation struct + Counter uint64 + func (e *UserRepositoryMockCheckUsersExistenceExpectation) Then(qp1 *db.Query, err error) *UserRepositoryMock + type UserRepositoryMockCheckUsersExistenceParams struct + type UserRepositoryMockCheckUsersExistenceResults struct + type UserRepositoryMockCreateExpectation struct + Counter uint64 + func (e *UserRepositoryMockCreateExpectation) Then(i1 int64, qp1 *db.Query, err error) *UserRepositoryMock + type UserRepositoryMockCreateLogExpectation struct + Counter uint64 + func (e *UserRepositoryMockCreateLogExpectation) Then(err error) *UserRepositoryMock + type UserRepositoryMockCreateLogParams struct + type UserRepositoryMockCreateLogResults struct + type UserRepositoryMockCreateParams struct + type UserRepositoryMockCreateResults struct + type UserRepositoryMockDeleteExpectation struct + Counter uint64 + func (e *UserRepositoryMockDeleteExpectation) Then(qp1 *db.Query, err error) *UserRepositoryMock + type UserRepositoryMockDeleteParams struct + type UserRepositoryMockDeleteResults struct + type UserRepositoryMockGetByUsernameExpectation struct + Counter uint64 + func (e *UserRepositoryMockGetByUsernameExpectation) Then(up1 *model.User, qp1 *db.Query, err error) *UserRepositoryMock + type UserRepositoryMockGetByUsernameParams struct + type UserRepositoryMockGetByUsernameResults struct + type UserRepositoryMockGetExpectation struct + Counter uint64 + func (e *UserRepositoryMockGetExpectation) Then(up1 *model.User, qp1 *db.Query, err error) *UserRepositoryMock + type UserRepositoryMockGetParams struct + type UserRepositoryMockGetResults struct + type UserRepositoryMockUpdateExpectation struct + Counter uint64 + func (e *UserRepositoryMockUpdateExpectation) Then(qp1 *db.Query, err error) *UserRepositoryMock + type UserRepositoryMockUpdateParams struct + type UserRepositoryMockUpdateResults struct