postgres

package
v0.2.4-fork.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postgres

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

func New

func New(cfg config.Database) *Postgres

func (*Postgres) Create

func (pg *Postgres) Create() error

func (*Postgres) Drop

func (pg *Postgres) Drop(force bool) error

func (*Postgres) Exists

func (pg *Postgres) Exists() (bool, error)

func (*Postgres) Name

func (pg *Postgres) Name() string

Jump to

Keyboard shortcuts

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