-
Notifications
You must be signed in to change notification settings - Fork 14
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: Implement pgx support #76
Conversation
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.
You are on the right way)
remove main.go, docker-compose. sqlmock cannot be used here due to different interfaces so I used pgxmock lib |
I'll take a closer look at the weekend. |
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.
Add information about the pgx adapter in README.md and CHANGELOG.md
Looks like pgxmock does not work on go1.13. |
If it's true, mark it in README.md and add skip test for old version of Go. GORM adapterfor example. |
Ok, I'll try. |
|
In the package's name? Like |
I'm fixing it) |
It's pretty strange) what's wrong?) |
golangci-lint version is 1.56, I think something changed in it. I excluded mock dirs. |
I see, excluding. But why does it work before these changes? |
I think, cause is updating of exhaustruct: from 2.3.0 to 3.1.0 |
Pgx v5 works only with 1.19 and higher (due to generics). But in example should be two flags:
|
Use for pgxv5
|
done. |
Pull Request Test Coverage Report for Build 5915867691
💛 - Coveralls |
Do you want to fix something else in the PR? |
Thanks!) |
I will bump version of the lib in first September weekend. |
Hello.
The frist attempt to implement pgx support.
For now there is no any unittests, example is weird and so on.
I just wonder if I am on the right way.