pqto

package
v0.0.0-...-6a4893c Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(name string) (conn driver.Conn, err error)

Open opens a new connection to the database. name is a connection string.

Types

type Driver

type Driver struct{}

Driver is the Postgres database driver.

func (Driver) Open

func (d Driver) Open(name string) (driver.Conn, error)

Open opens a new connection to the database. name is a connection string. Most users should only use it through database/sql package from the standard library.

Jump to

Keyboard shortcuts

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