go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

sql: unknown driver "pgx" (forgotten import?)

Open 19910211 opened this issue 1 year ago • 3 comments

后面获取连接报错,提示 sql: unknown driver "pgx" (forgotten import?) postgres 包是 import _ "github.com/jackc/pgx/v5" 需要导入import _ "github.com/jackc/pgx/v5/stdlib" 才可以

19910211 avatar Mar 27 '23 08:03 19910211