database

package
v0.0.0-...-e8da0a6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorFailedToCheckRecord = fmt.Errorf("failed to check record")
	ErrorRecordWasNotFound   = fmt.Errorf("record was not found")
	ErrorNoAffected          = fmt.Errorf("no affected")
	ErrorNoLastInsertId      = fmt.Errorf("no last insert id")
)

Functions

func FormatDSN

func FormatDSN(cfgdb config.Database) string

func New

func New(cfgdb config.Database) (*sql.DB, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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