uorm

package
v0.0.0-...-9fd2f02 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBFactory

type DBFactory struct {
	// contains filtered or unexported fields
}

func GetDBFactorySingleton

func GetDBFactorySingleton() (*DBFactory, error)

func (*DBFactory) Create

func (d *DBFactory) Create(linkConf confs.DBConfig) (bool, error)

func (*DBFactory) GetDB

func (d *DBFactory) GetDB() *gorm.DB

type DBFactoryIOCInterface

type DBFactoryIOCInterface interface {
	Create(linkConf confs.DBConfig) (bool, error)
	GetDB() *gorm.DB
}

func GetDBFactoryIOCInterfaceSingleton

func GetDBFactoryIOCInterfaceSingleton() (DBFactoryIOCInterface, error)

type ThisDBFactory

type ThisDBFactory struct {
}

func (*ThisDBFactory) This

Jump to

Keyboard shortcuts

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