How to use func(*pgxmock.pgxmock) error in NewConn or NewPool functions ? #106
Replies: 1 comment
-
Hey, it's been awhile since the start of this discussion. I hope everything is fixed and is working. Please, reopen it if you think we may somehow improve the source code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
The method signature of the function
NewPool/NewConn
includes anoptions
parameter of typefunc(*pgxmock.pgxmock) error
. I am a bit confused aspgxmock.pgxmock
is not an exported type, how can we use that ?Beta Was this translation helpful? Give feedback.
All reactions