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

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