sql

package
v1.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mysql

func Mysql() (db *gorm.DB, err error)

Mysql mysql的连接池

func Sqlite

func Sqlite() (db *gorm.DB, err error)

Sqlite sqlite的连接池 对于不存在的数据库或数据库目录会自动创建 仅支持一级目录

Types

This section is empty.

Jump to

Keyboard shortcuts

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