Documentation ¶ Index ¶ func InitDB(driver, source string, funk ...func(*xorm.Engine) error) (*xorm.Engine, error) func LoggerOpt(logger interface{}) func(*xorm.Engine) error func RegisterSQLMapOpt(sqlMap map[string]string) func(*xorm.Engine) error func RegisterSQLOpt() func(*xorm.Engine) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitDB ¶ func InitDB(driver, source string, funk ...func(*xorm.Engine) error) (*xorm.Engine, error) InitDB defined TODO func LoggerOpt ¶ func LoggerOpt(logger interface{}) func(*xorm.Engine) error LoggerOpt defined TODO func RegisterSQLMapOpt ¶ func RegisterSQLMapOpt(sqlMap map[string]string) func(*xorm.Engine) error RegisterSQLMapOpt defined TODO func RegisterSQLOpt ¶ func RegisterSQLOpt() func(*xorm.Engine) error RegisterSQLOpt defined TODO Types ¶ This section is empty. Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.