library

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrMultiMatch

type ErrMultiMatch struct {
	// Type is the type of object being queried.
	Type string

	// Key is the key used to perform the query.
	Key string

	// Val is the value used to perform the query.
	Val string

	// Count is the number of objects returned.
	Count int
}

ErrMultiMatch is an error returned when a query returns more than one result.

func (ErrMultiMatch) Error

func (e ErrMultiMatch) Error() string

Error returns the error string.

func (ErrMultiMatch) String

func (e ErrMultiMatch) String() string

String returns the same value as Error().

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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