Versions in this module Expand all Collapse all v1 v1.0.0 Nov 21, 2022 Changes in this version + type Postgres struct + Connection PostgresConnection + func (psql *Postgres) CheckConnection() error + func (psql *Postgres) Connect(pc PostgresConnection) + func (psql Postgres) DB() *sql.DB + func (psql Postgres) DeleteObject(tblName string, obj interface{}) (err error) + func (psql Postgres) Disconnect() error + func (psql Postgres) InsertObject(tblName string, objPointer, obj interface{}) (err error) + func (psql Postgres) SelectObject(tblName string, objPointer, obj interface{}) (err error) + func (psql Postgres) SelectObjects(tblName string, objPointer interface{}) (err error) + func (psql Postgres) SpecificSelectObject(sqlStatement string, objPointer interface{}) (err error) + func (psql Postgres) SpecificSelectObjects(sqlStatement string, objPointer interface{}) (err error) + func (psql Postgres) UpdateObject(tblName string, objPointer, obj interface{}) (err error) + type PostgresConnection struct + DatabaseName string + Host string + Password string + Port string + SSLMode string + User string + func (pc PostgresConnection) ConnectionString() string