Documentation ¶
Overview ¶
Package mock_postgres is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPgxIface ¶
type MockPgxIface struct {
// contains filtered or unexported fields
}
MockPgxIface is a mock of PgxIface interface.
func NewMockPgxIface ¶
func NewMockPgxIface(ctrl *gomock.Controller) *MockPgxIface
NewMockPgxIface creates a new mock instance.
func (*MockPgxIface) EXPECT ¶
func (m *MockPgxIface) EXPECT() *MockPgxIfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPgxIface) Exec ¶ added in v0.5.1
func (m *MockPgxIface) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
Exec mocks base method.
type MockPgxIfaceMockRecorder ¶
type MockPgxIfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPgxIfaceMockRecorder is the mock recorder for MockPgxIface.
func (*MockPgxIfaceMockRecorder) Close ¶
func (mr *MockPgxIfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPgxIfaceMockRecorder) Exec ¶ added in v0.5.1
func (mr *MockPgxIfaceMockRecorder) Exec(ctx, sql interface{}, arguments ...interface{}) *gomock.Call
Exec indicates an expected call of Exec.
Click to show internal directories.
Click to hide internal directories.