-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
pgxmock.ExpectBegin is not documented #181
Comments
Well, it's here https://pkg.go.dev/github.com/pashagolub/pgxmock/v3#ExpectedBegin The manual looks this way probably because interface is not documented. I'll check what can we do about this |
Thanks for looking into this, @pashagolub. I'm a total newbie with pgxmock, and indeed pgx, so this probably reflects my ignorance more than anything, but I would have expected to see something about the function that creates an object of type |
ok, that is how |
Hmm, that sounds like a bug in Maybe the workaround is to add a description of the interface methods in the text overview? |
Not a bug but a feature. :-) It seems I can put interface into doc. Let me try something. |
* [*] make `Expect*` methods visible in the docs, closes #181 - rename `pgxMockIface` to `Expecter` - rename `pgxIface` to `PgxCommonIface` - move `Config()` methods to proper interfaces - make `expectation` hidden - cover `pgxmockConn.Config()` with test
Thanks for handling this! |
I expected to see it in the Functions section at
https://pkg.go.dev/github.com/pashagolub/pgxmock/v3#pkg-functions
but only
NewResult
andQueryMatcherOption
are listed here.I can't find it anywhere else in the documentation, either.
(BTW., thanks for a really helpful module!)
The text was updated successfully, but these errors were encountered: