db

package
v0.0.0-...-ecdd535 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDBConnection

func GetDBConnection() (*sql.DB, error)

func HandleError

func HandleError(err error) error

Types

type ErrObjectNotFound

type ErrObjectNotFound struct{}

ErrObjectNotFound is used to indicate that selecting an individual object yielded no result. Declared as type, not value, for consistency reasons.

func (ErrObjectNotFound) Error

func (ErrObjectNotFound) Error() string

func (ErrObjectNotFound) Unwrap

func (ErrObjectNotFound) Unwrap() error

Jump to

Keyboard shortcuts

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