Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresDB ¶
type PostgresDB struct {
// contains filtered or unexported fields
}
var (
PgClient *PostgresDB
)
func ConnectPostgres ¶
func ConnectPostgres(ctx context.Context, connString string) (*PostgresDB, error)
func (*PostgresDB) Close ¶
func (pg *PostgresDB) Close()
Click to show internal directories.
Click to hide internal directories.