Documentation ¶ Index ¶ func ConnectPostgresDB(ctx context.Context, dsn string, timeout time.Duration, maxRetries int) (*sql.DB, error) func ConnectToPostgreSQLGormDB(ctx context.Context, dsn string, timeout time.Duration, maxRetries int) (*gorm.DB, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ConnectPostgresDB ¶ func ConnectPostgresDB(ctx context.Context, dsn string, timeout time.Duration, maxRetries int) (*sql.DB, error) func ConnectToPostgreSQLGormDB ¶ func ConnectToPostgreSQLGormDB(ctx context.Context, dsn string, timeout time.Duration, maxRetries int) (*gorm.DB, error) Types ¶ This section is empty. Source Files ¶ View all Source files ConnectPostgresDB.goConnectPostgresGORM.go Click to show internal directories. Click to hide internal directories.