From a015743b721a3b1cdae0ff0229375e7a39751f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Garcia?= Date: Wed, 5 Apr 2023 22:33:03 -0300 Subject: [PATCH] Minor refactor --- adapters/kpgx5/kpgx.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adapters/kpgx5/kpgx.go b/adapters/kpgx5/kpgx.go index 387ba66..fbe8a20 100644 --- a/adapters/kpgx5/kpgx.go +++ b/adapters/kpgx5/kpgx.go @@ -40,6 +40,5 @@ func New( return ksql.DB{}, err } - db, err = ksql.NewWithAdapter(NewPGXAdapter(pool), sqldialect.PostgresDialect{}) - return db, err + return ksql.NewWithAdapter(NewPGXAdapter(pool), sqldialect.PostgresDialect{}) }