mocks

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormModel

type GormModel struct {
	mock.Mock
}

GormModel is an autogenerated mock type for the GormModel type

func NewGormModel

func NewGormModel(t mockConstructorTestingTNewGormModel) *GormModel

NewGormModel creates a new instance of GormModel. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GormModel) IsSoftDelete

func (_m *GormModel) IsSoftDelete() bool

IsSoftDelete provides a mock function with given fields:

func (*GormModel) SetCreatedAt

func (_m *GormModel) SetCreatedAt(_a0 time.Time)

SetCreatedAt provides a mock function with given fields: _a0

func (*GormModel) SetCreatedBy

func (_m *GormModel) SetCreatedBy(user string)

SetCreatedBy provides a mock function with given fields: user

func (*GormModel) SetDeletedAt

func (_m *GormModel) SetDeletedAt(_a0 time.Time)

SetDeletedAt provides a mock function with given fields: _a0

func (*GormModel) SetDeletedBy

func (_m *GormModel) SetDeletedBy(user string)

SetDeletedBy provides a mock function with given fields: user

func (*GormModel) SetSyncedAt

func (_m *GormModel) SetSyncedAt(_a0 time.Time)

SetSyncedAt provides a mock function with given fields: _a0

func (*GormModel) SetUpdatedAt

func (_m *GormModel) SetUpdatedAt(_a0 time.Time)

SetUpdatedAt provides a mock function with given fields: _a0

func (*GormModel) SetUpdatedBy

func (_m *GormModel) SetUpdatedBy(user string)

SetUpdatedBy provides a mock function with given fields: user

func (*GormModel) TableName

func (_m *GormModel) TableName() string

TableName provides a mock function with given fields:

Jump to

Keyboard shortcuts

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