Registry / database / driver-postgres

driver-postgres

JSON →
library1.6.0gogounverified

PostgreSQL driver for the GORM ORM library.

go get gorm.io/driver/postgres
INSTALL
IMPORT
SIG · DRIVER-POSTGRES
D
driver-postgres
databasegov1.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

postgres
gorm.io/driver/postgres

Open a GORM connection to a PostgreSQL database.

package main import ( "gorm.io/driver/postgres" "gorm.io/gorm" ) func main() { dsn := "host=localhost user=user password=pass dbname=test port=5432 sslmode=disable" db, _ := gorm.Open(postgres.Open(dsn), &gorm.Config{}) _ = db }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
38
Bingbot
1
OpenAI (training)
1
Resources
driver-postgres — go get driver-postgres · libregistry