datastore

package
v0.0.0-...-19cc336 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePsqlInfo

func GeneratePsqlInfo() string

GeneratePsqlInfo Generates psql info by config

Types

type Database

type Database struct {
	Gorm *gorm.DB
}

Database type

func NewDatabase

func NewDatabase(dialector gorm.Dialector) *Database

NewDatabase(db *gorm.DB) Database Return a valid database client

Jump to

Keyboard shortcuts

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