store

package
v0.0.0-...-0cdd26c Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConflict = errors.New("store: entity already exists")
	ErrNotFound = errors.New("store: entity not found")
)

Functions

func NewDB

func NewDB(dsn string) (*sqlx.DB, error)

Types

type StoreErr

type StoreErr struct {
	Code    int
	Message string
	Err     error
}

func (*StoreErr) Error

func (e *StoreErr) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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