db

package
v0.0.0-...-04c5af6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConnectDBErr = errors.New("connect db error")
	UseDBErr     = errors.New("use db error")
)
View Source
var MasterDB *xorm.Engine

Functions

func Init

func Init() error

func StdMasterDB

func StdMasterDB() *sql.DB

func TestDB

func TestDB() error

TestDB 测试数据库

Types

This section is empty.

Jump to

Keyboard shortcuts

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