specification

package
v0.0.0-...-5d22fbd Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseSpecification

type BaseSpecification struct {
}

type Set

type Set interface {
	Specification
	WithContext(ctx context.Context) Set
	FilterByID(id string) Set
	FilterEntry(attributes map[string]interface{}) Set
	Prefetch(preload ...string) Set
	Sort(sortBy string, sortOrder sort.Order) Set
	Limit(limit int) Set
	LessThan(field string, value interface{}) Set
	GreaterThan(field string, value interface{}) Set
}

type Specification

type Specification interface {
	Query() interface{}
}

Jump to

Keyboard shortcuts

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