You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
231 B
17 lines
231 B
2 years ago
|
package dorm
|
||
|
|
||
|
import (
|
||
|
"xorm.io/xorm"
|
||
|
)
|
||
|
|
||
|
type ConfigXormClient struct {
|
||
|
Dns string // 地址
|
||
|
}
|
||
|
|
||
|
// XormClient
|
||
|
// https://xorm.io/
|
||
|
type XormClient struct {
|
||
|
Db *xorm.Engine // 驱动
|
||
|
config *ConfigXormClient // 配置
|
||
|
}
|