database

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

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	DB *gorm.DB
	// contains filtered or unexported fields
}

func GetDB

func GetDB(dsn string, debug bool) *DB

func (*DB) AutoMigrate

func (ins *DB) AutoMigrate(dst ...interface{}) error

func (*DB) Close

func (ins *DB) Close() error

Jump to

Keyboard shortcuts

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