store

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ErrorTypeNone ErrorType = iota
	ErrorTypeIncomplete
	ErrorTypeForeignKey
	ErrorTypeDuplicate
	ErrorTypeInvalid
	ErrorTypeQuery

	ErrorOpSave ErrorOp = iota
	ErrorOpGet
	ErrorOpDelete
	ErrorOpFind
)

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Error

type Error struct {
	Type ErrorType
	Err  error
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) ErrorForOp

func (e *Error) ErrorForOp(op ErrorOp) error

func (*Error) Unwrap

func (e *Error) Unwrap() error

type ErrorOp

type ErrorOp int

type ErrorType

type ErrorType int

type Results

type Results struct {
	Count   *int64      `json:"count,omitempty"`
	Results interface{} `json:"results"`
}

Directories

Path Synopsis
driver

Jump to

Keyboard shortcuts

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