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

feat: support tls connection #5

Merged
merged 6 commits into from
Aug 10, 2023
Merged

feat: support tls connection #5

merged 6 commits into from
Aug 10, 2023

Conversation

Mini256
Copy link
Owner

@Mini256 Mini256 commented Aug 4, 2023

No description provided.

@Mini256
Copy link
Owner Author

Mini256 commented Aug 4, 2023

@Icemap PTAL~

pkg/db/conn.go Outdated
@@ -26,14 +26,14 @@ func OpenDB(dbName, host string, port int, user, password string) (*sql.DB, erro
ds = fmt.Sprintf("%s:%s@tcp(%s:%d)/", user, password, host, port)
Copy link

Choose a reason for hiding this comment

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

dsn is a more commonly used term

@Mini256 Mini256 merged commit ff6f8b2 into main Aug 10, 2023
1 check passed
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

2 participants