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

Revive testing.go #29

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Revive testing.go #29

merged 1 commit into from
Jul 17, 2024

Conversation

michiomochi
Copy link

import "github.com/jackc/pgx/v5/pgxpool"

// // TestInjectJobConn injects *pgxpool.Conn to Job
func TestInjectJobConn(j *Job, conn *pgxpool.Conn) *Job {
Copy link
Author

Choose a reason for hiding this comment

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

それぞれ利用先でqg関連のテストを書く際に有用です。

@michiomochi michiomochi merged commit c31b047 into master Jul 17, 2024
6 checks passed
@michiomochi michiomochi deleted the testing branch July 17, 2024 06:49
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.

2 participants