database

package
v0.0.0-...-392719a Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	*sql.DB
}

func New

func New() *DB

func (*DB) Close

func (db *DB) Close() error

func (*DB) IsHealthy

func (db *DB) IsHealthy() (bool, error)

func (*DB) Migrate

func (db *DB) Migrate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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