db

package
v1.2.2-0...-70982f0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = &Err{
		Msg: "not found",
		Err: r.ErrEmptyResult,
	}
)

Functions

func New

func New(cfg cfg.DB) (r.QueryExecutor, error)

Types

type Err

type Err struct {
	Msg string
	Err error
}

func (*Err) Error

func (e *Err) Error() string

func (*Err) Is

func (e *Err) Is(target error) bool

func (*Err) Unwrap

func (e *Err) Unwrap() error

Jump to

Keyboard shortcuts

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