db

package
v0.0.0-...-e75800c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDBError

func IsDBError(err error) bool

func NewDbConnection

func NewDbConnection(conf config.Configuration) *sql.DB

func NewGormConnection

func NewGormConnection(conf config.Configuration) *gorm.DB

func NewQueryBuilder

func NewQueryBuilder(database *sql.DB) *goqu.Database

func QueryPrepError

func QueryPrepError(err error) error

func WrapError

func WrapError(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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