Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pq: fix Connector example test #873

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

narqo
Copy link

@narqo narqo commented Jun 1, 2019

The connector's example had one rudimental if-err check and used confusing variable names, e.g. name instead of dsn.

This change makes the example to be in line with examples of Go's database/sql.

The connector's example had one rudimental if-err check and used
confusing variable names, e.g. "name" instead of "dsn".
This change makes the example to be in line with examples of Go's database/sql.
genslein pushed a commit to genslein/pq that referenced this pull request Sep 7, 2019
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.

None yet

1 participant