mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Initialize

type Initialize struct {
	mock.Mock
}

Initialize is an autogenerated mock type for the Initialize type

func NewInitialize

func NewInitialize(t mockConstructorTestingTNewInitialize) *Initialize

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

func (*Initialize) InitializeGorm

func (_m *Initialize) InitializeGorm(_a0 config.Config, connection string) *gorm.GormImpl

InitializeGorm provides a mock function with given fields: _a0, connection

func (*Initialize) InitializeQuery

func (_m *Initialize) InitializeQuery(ctx context.Context, _a1 config.Config, connection string) (*gorm.QueryImpl, error)

InitializeQuery provides a mock function with given fields: ctx, _a1, connection

Jump to

Keyboard shortcuts

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