Help us shape the future of Go! Take the 2026 Go Developer Survey

postgres

package
v2.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package postgres links the Postgres driver (pgx, through database/sql) for the ORM: blank-import it to Connect to "postgres". It also teaches the ORM the driver's connection errors and how to put orm.Credentials into a DSN.

import _ "github.com/vuka-lang/orm/v2/postgres"

db, err := orm.Connect("postgres", "postgres://user:pass@localhost:5432/shop?sslmode=disable")

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL