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
244 B
17 lines
244 B
2 years ago
|
package dorm
|
||
|
|
||
|
import (
|
||
|
"github.com/uptrace/bun"
|
||
|
)
|
||
|
|
||
|
type ConfigBunClient struct {
|
||
|
Dns string // 地址
|
||
|
}
|
||
|
|
||
|
// BunClient
|
||
|
// https://bun.uptrace.dev/
|
||
|
type BunClient struct {
|
||
|
Db *bun.DB // 驱动
|
||
|
config *ConfigBunClient // 配置
|
||
|
}
|