utils

package
v0.0.0-...-d4c5c8b Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryFiller

type QueryFiller interface {
	// Fill fills in the query.Query with query details
	Fill(query.Query) query.Query
}

QueryFiller describes a type that can fill in a query and return it

type QueryFillerMaker

type QueryFillerMaker func(QueryGenerator) QueryFiller

QueryFillerMaker is a function that takes a QueryGenerator and returns a QueryFiller

type QueryGenerator

type QueryGenerator interface {
	GenerateEmptyQuery() query.Query
}

QueryGenerator is an interface that a database-specific implementation of a use case implements to set basic configuration that can then be used by a specific QueryFiller, ultimately yielding a query.Query with information to be run.

Jump to

Keyboard shortcuts

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