Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresConnection ¶
type PostgresConnection struct {
// contains filtered or unexported fields
}
func NewPostgres ¶
func NewPostgres(ctx context.Context, cfg configutilities.DatabasePostgresConfiguration) (*PostgresConnection, error)
func (*PostgresConnection) Close ¶
func (c *PostgresConnection) Close()
type PostgresMockConn ¶
type PostgresMockConn struct {
Mock pgxmock.PgxPoolIface
}
func NewPostgresMock ¶
func NewPostgresMock() (*PostgresMockConn, error)
func (*PostgresMockConn) Close ¶
func (m *PostgresMockConn) Close()
type UpdateQueryResult ¶
func BuildUpdateWithValues ¶
func BuildUpdateWithValues(tableName string, id string, data any) (UpdateQueryResult, error)
Click to show internal directories.
Click to hide internal directories.