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.
dorm/bun.go

17 lines
244 B

package dorm
import (
"github.com/uptrace/bun"
)
type BunClientConfig struct {
Dns string // 地址
}
// BunClient
// https://bun.uptrace.dev/
type BunClient struct {
Db *bun.DB // 驱动
config *BunClientConfig // 配置
}