Documentation
¶
Overview ¶
Package database 数据库操作
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
DB 对象
View Source
var SQLDB *sql.DB
Functions ¶
func CurrentDatabase ¶
func CurrentDatabase() (dbname string)
func DeleteAllTables ¶
func DeleteAllTables() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.