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

postgres

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package postgres is the Postgres dialect for the Dygo sql module, on the pgx driver:

Imports: []*dygo.Module{postgres.Module()} // reads DATABASE_URL

DATABASE_URL is a postgres:// URL or a key=value connection string, as pgx accepts them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dialect

func Dialect() sql.Dialect

Dialect returns the Postgres dialect, for sql.Open and tests.

func Module

func Module(opts ...sql.Option) *dygo.Module

Module returns sql.Module with the Postgres dialect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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