querier

package
v0.1.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Outputer

type Outputer interface {
	Output(ctx context.Context, querier Querier, value interface{}) interface{}
}

type Querier

type Querier interface {
	Fetch(ctx context.Context, contentType string, condition db.Condition) (contenttype.ContentTyper, error)

	List(ctx context.Context, contentType string, condition db.Condition) ([]contenttype.ContentTyper, int, error)
}

Jump to

Keyboard shortcuts

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