adminTransaction

package
v0.0.0-...-4834045 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package adminTransaction is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminTransactionMysqlRepository

type AdminTransactionMysqlRepository interface {
	Begin(ctx context.Context) (*gorm.DB, error)
	Commit(ctx context.Context, tx *gorm.DB) error
	Rollback(ctx context.Context, tx *gorm.DB) error
}

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) Begin

Begin mocks base method.

func (*MockAdminTransactionMysqlRepository) Commit

Commit mocks base method.

func (*MockAdminTransactionMysqlRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAdminTransactionMysqlRepository) Rollback

Rollback mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL