From 3c9fe0b381b3c0c1e0e3d53d3cdbe2cd96061a43 Mon Sep 17 00:00:00 2001 From: iyyzh <108749620+iyyzh@users.noreply.github.com> Date: Fri, 10 Mar 2023 13:58:07 +0800 Subject: [PATCH] init postgresql err (#3003) --- core/stores/postgres/postgresql.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/stores/postgres/postgresql.go b/core/stores/postgres/postgresql.go index 6690f4bb..b173efc9 100644 --- a/core/stores/postgres/postgresql.go +++ b/core/stores/postgres/postgresql.go @@ -2,7 +2,8 @@ package postgres import ( // imports the driver, don't remove this comment, golint requires. - _ "github.com/jackc/pgx/v5" + _ "github.com/jackc/pgx/v5/stdlib" + "github.com/zeromicro/go-zero/core/stores/sqlx" )