package
0.0.0-20230522165840-c6e0da05bbdd
Repository: https://github.com/cristflores/go-db.git
Documentation: pkg.go.dev
# Functions
DAOProduct factory of product storage ! Al implementar este factory, los metodos NewPsqlProduct y NewMySQLProduct los volvemos no exportados.
New crea una nueva instancia de la base de datos.
NewPsqlInvoice returns a new pointer of PsqlInvoice.
NewPsqlInvoiceHeader return a new pointer of PsqlInvoiceHeader (builder function).
NewPsqlInvoiceItem return a new pointer of PsqlInvoiceItem (builder function).
* Pool returns a unique instance of the database connection.
# Structs
PsqlInvoice used for work with postgres - invoice.
PsqlInvoiceHeader used for work with postgres - invoiceheader.
PsqlInvoiceItem used for work with postgres - invoiceitem.
# Type aliases
Driver de storage.