summaryrefslogtreecommitdiff
path: root/gsql/std.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-07-30 22:53:28 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-07-31 20:28:41 +0200
commit0beb2f2df4461c1d18ba2a099a90d020414b8fdb (patch)
tree3d4c90b916d47be65bfa9a6a0a1ac655a341762a /gsql/std.go
parent7ead3465c7fdf564ae367e1169aeb68ced9267c8 (diff)
downloadgo-gg-0beb2f2df4461c1d18ba2a099a90d020414b8fdb.tar.gz
gsql: add context.Context argument to GSQLClose()
Required for pgx.Conn.Close().
Diffstat (limited to 'gsql/std.go')
-rw-r--r--gsql/std.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsql/std.go b/gsql/std.go
index 1d61371..321f32a 100644
--- a/gsql/std.go
+++ b/gsql/std.go
@@ -185,7 +185,7 @@ type sqlConnectionHandle[T sqlConnection] struct {
}
// GSQLClose implements the [ConnectionHandle] interface.
-func (h sqlConnectionHandle[T]) GSQLClose() error {
+func (h sqlConnectionHandle[T]) GSQLClose(ctx context.Context) error {
return h.Base.Close()
}