repository_mock

package
v0.0.0-...-a255732 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseRepositoryMock

type BaseRepositoryMock struct {
	Mock mock.Mock
}

func (*BaseRepositoryMock) BeginTx

func (b *BaseRepositoryMock) BeginTx()

func (*BaseRepositoryMock) CommitTx

func (b *BaseRepositoryMock) CommitTx()

func (*BaseRepositoryMock) GetDB

func (b *BaseRepositoryMock) GetDB() *gorm.DB

func (*BaseRepositoryMock) RollbackTx

func (b *BaseRepositoryMock) RollbackTx()

type FanuserRepositoryMock

type FanuserRepositoryMock struct {
	Mock mock.Mock
}

func (*FanuserRepositoryMock) Create

func (repo *FanuserRepositoryMock) Create(fanuser *entity.Fanuser) (*entity.Fanuser, error)

Jump to

Keyboard shortcuts

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