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.
go-library/utils/dorm/xorm.go

15 lines
197 B

package dorm
import (
"xorm.io/xorm"
)
type ConfigXormClient struct {
Dns string // 地址
}
type XormClient struct {
Db *xorm.Engine // 驱动
config *ConfigXormClient // 配置
}