소스 검색

init postgresql err (#3003)

iyyzh 2 년 전
부모
커밋
3c9fe0b381
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/stores/postgres/postgresql.go

+ 2 - 1
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"
 )