Documentation ¶
Overview ¶
Package adminTransaction is a generated GoMock package.
Index ¶
- type AdminTransactionMysqlRepository
- type MockAdminTransactionMysqlRepository
- func (m *MockAdminTransactionMysqlRepository) Begin(ctx context.Context) (*gorm.DB, error)
- func (m *MockAdminTransactionMysqlRepository) Commit(ctx context.Context, tx *gorm.DB) error
- func (m *MockAdminTransactionMysqlRepository) EXPECT() *MockAdminTransactionMysqlRepositoryMockRecorder
- func (m *MockAdminTransactionMysqlRepository) Rollback(ctx context.Context, tx *gorm.DB) error
- type MockAdminTransactionMysqlRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdminTransactionMysqlRepository ¶
type MockAdminTransactionMysqlRepository struct {
// contains filtered or unexported fields
}
MockAdminTransactionMysqlRepository is a mock of AdminTransactionMysqlRepository interface.
func NewMockAdminTransactionMysqlRepository ¶
func NewMockAdminTransactionMysqlRepository(ctrl *gomock.Controller) *MockAdminTransactionMysqlRepository
NewMockAdminTransactionMysqlRepository creates a new mock instance.
func (*MockAdminTransactionMysqlRepository) EXPECT ¶
func (m *MockAdminTransactionMysqlRepository) EXPECT() *MockAdminTransactionMysqlRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAdminTransactionMysqlRepositoryMockRecorder ¶
type MockAdminTransactionMysqlRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockAdminTransactionMysqlRepositoryMockRecorder is the mock recorder for MockAdminTransactionMysqlRepository.
func (*MockAdminTransactionMysqlRepositoryMockRecorder) Begin ¶
func (mr *MockAdminTransactionMysqlRepositoryMockRecorder) Begin(ctx interface{}) *gomock.Call
Begin indicates an expected call of Begin.
func (*MockAdminTransactionMysqlRepositoryMockRecorder) Commit ¶
func (mr *MockAdminTransactionMysqlRepositoryMockRecorder) Commit(ctx, tx interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockAdminTransactionMysqlRepositoryMockRecorder) Rollback ¶
func (mr *MockAdminTransactionMysqlRepositoryMockRecorder) Rollback(ctx, tx interface{}) *gomock.Call
Rollback indicates an expected call of Rollback.
Click to show internal directories.
Click to hide internal directories.