Skip to content

tests: examples#7

Merged
murfffi merged 1 commit into
mainfrom
tests/examples
Jun 1, 2026
Merged

tests: examples#7
murfffi merged 1 commit into
mainfrom
tests/examples

Conversation

@murfffi

@murfffi murfffi commented Jun 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an example file examples/sql.go demonstrating how to integrate conncheck with database/sql and pgx, alongside minor dependency updates in go.mod and go.sum. A review comment points out a potential nil pointer dereference and incorrect status handling in the ResetSession implementation if the driver connection or its underlying connection is nil, providing a code suggestion to guard against this.

Comment thread examples/sql.go
@murfffi murfffi merged commit 2db680a into main Jun 1, 2026
6 checks passed
@murfffi murfffi deleted the tests/examples branch June 1, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant