db

package
v0.0.0-...-4137e97 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DB

func DB() *gorm.DB

func Setup

func Setup() error

func Stop

func Stop()

func TDB

func TDB(s string) (ret *gorm.DB, err error)

Types

type Conn

type Conn struct {
	T        string    `json:"t" gorm:"primary key"`
	Dsn      string    `json:"dsn"`
	LastUsed time.Time `gorm:"-"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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