From 0b0d3b35ad443f92a1a0b4d6e46525f7865542f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Fri, 23 Sep 2022 16:58:11 +0800 Subject: [PATCH] - update --- bun_mysql.go | 2 +- bun_postgresql.go | 2 +- const.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bun_mysql.go b/bun_mysql.go index 5a19616..7908dcb 100644 --- a/bun_mysql.go +++ b/bun_mysql.go @@ -9,7 +9,7 @@ import ( "github.com/uptrace/bun/dialect/mysqldialect" ) -func NewBunMysqlClient(config *ConfigBunClient) (*BunClient, error) { +func NewBunMysqlClient(config *BunClientConfig) (*BunClient, error) { var err error c := &BunClient{config: config} diff --git a/bun_postgresql.go b/bun_postgresql.go index f39fb38..80973e4 100644 --- a/bun_postgresql.go +++ b/bun_postgresql.go @@ -7,7 +7,7 @@ import ( "github.com/uptrace/bun/driver/pgdriver" ) -func NewBunPgsqlClient(config *ConfigBunClient) (*BunClient, error) { +func NewBunPgsqlClient(config *BunClientConfig) (*BunClient, error) { c := &BunClient{config: config} diff --git a/const.go b/const.go index 3548bbc..cefebef 100644 --- a/const.go +++ b/const.go @@ -1,3 +1,3 @@ package dorm -const Version = "1.0.44" +const Version = "1.0.45"