sqlite

package
Version: v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Gorm sync.Map

Functions

func GetORM

func GetORM() *gorm.DB

获取默认的Gorm实例

func GetORMByName

func GetORMByName(dbname string) *gorm.DB

通过名称获取Gorm实例

func NewDB

func NewDB(dbname string)

初始化Gorm

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL