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

database

package
v0.0.0-...-1dcb39d Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(ctx context.Context, db *sql.DB) error

func Open

func Open(uri string, opts ...cfg.Option[Config]) (*sql.DB, error)

func WithMaxConns

func WithMaxConns(open, idle int) cfg.Option[Config]

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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