-
Notifications
You must be signed in to change notification settings - Fork 1
Driver: Add page about Go #406
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
base: main
Are you sure you want to change the base?
Conversation
Warning Rate limit exceeded@amotl has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 13 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
WalkthroughAdds a new Go connectivity guide ( Changes
Sequence Diagram(s)sequenceDiagram
participant Reader
participant Docs as "docs/connect/go.md"
participant Index as "docs/connect/index.md"
participant Example as "External Example / Repo"
Reader->>Index: Open Drivers-by-language page
Note right of Index #f0f9ff: New Go card links to guide
Reader->>Docs: Open Go connectivity guide
Note right of Docs #e6f7ff: Shows pgx v5 & pq examples, Docker/Cloud notes, Example card
Docs->>Example: Link to example code / repo
Reader->>Example: Follow link or copy example
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
a5568d4
to
8f7a983
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to merge #415 before this PR can be merged
6e459e5
to
6e33ebd
Compare
This comment was marked as resolved.
This comment was marked as resolved.
:::{rubric} About | ||
::: | ||
|
||
[pgx] is a pure Go driver and toolkit for PostgreSQL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just discovered lib/pq
, a pure Go PostgreSQL driver for database/sql
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0c1d156 adds information about it. /cc @coderabbitai
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Show the commit details for 0c1d156b9c
git show 0c1d156b9c
Length of output: 2003
@amotl, thanks for the heads up! I've reviewed commit 0c1d156.
Great addition! The documentation now covers both major PostgreSQL drivers for Go:
- pgx: A more modern, feature-rich driver with advanced features like connection pooling
- pq: The traditional, widely-adopted
database/sql
driver
The new pq
section follows the same clear structure as the pgx
section with:
- Basic usage example showing standard
database/sql
patterns - Connection string examples for both local and CrateDB Cloud setups
- Proper error handling guidance (using
sslmode=disable
for local,sslmode=require
for cloud)
This gives users flexibility to choose based on their needs - pgx
for more advanced features or pq
for traditional database/sql
compatibility. The documentation is comprehensive and consistent! 👍
958f282
to
4d9dcc3
Compare
About
What the title says.
Preview
https://cratedb-guide--406.org.readthedocs.build/connect/go/