database

package
v1.3.2-rc-1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConnector

type MockConnector struct {
	mock.Mock
}

func (*MockConnector) Connect

func (c *MockConnector) Connect() *gorm.DB

type MockDatabase

type MockDatabase struct {
	mock.Mock
}

func (*MockDatabase) Connection

func (m *MockDatabase) Connection() *gorm.DB

func (*MockDatabase) Migrate

func (m *MockDatabase) Migrate()

Jump to

Keyboard shortcuts

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