Documentation ¶
Index ¶
- func ConvDBLogLevel(level string) logger.LogLevel
- func GormDB() *gorm.DB
- func GormFirst(record, query interface{}, args ...interface{}) (bool, error)
- func SetDbDatabase(db string)
- func SetDbHost(hostStr string)
- func SetDbLogLevel(level string)
- func SetDbPassword(passWord string)
- func SetDbPort(Port uint16)
- func SetDbUserName(name string)
- func XormDb() *xorm.Engine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvDBLogLevel ¶
func SetDbDatabase ¶
func SetDbDatabase(db string)
func SetDbLogLevel ¶
func SetDbLogLevel(level string)
func SetDbPassword ¶
func SetDbPassword(passWord string)
func SetDbUserName ¶
func SetDbUserName(name string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.