postgres

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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/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