keywords

package
v0.20.18 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SetMarkerKey = AddAndGet("Has",
		functions.NewEntry(
			nil,
			NewNamespace(),
		))
	ParamsKey = AddAndGet("Unsafe", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	KeySQL = "sql"

	Pagination = AddAndGet("$PAGINATION", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	Criteria = AddAndGet("$CRITERIA", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	WhereCriteria = AddAndGet("$WHERE_CRITERIA", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	ColumnsIn = AddAndGet("$COLUMN_IN", functions.NewEntry(
		nil,
		NewNamespace(),
	))
	AndColumnInPosition = AddAndGet("$AND_COLUMN_IN", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	SelectorCriteria = AddAndGet("$SELECTOR_CRITERIA", functions.NewEntry(
		nil,
		NewNamespace(),
	))
	WhereSelectorCriteria = AddAndGet("$WHERE_SELECTOR_CRITERIA", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	AndSelectorCriteria = AddAndGet("$AND_SELECTOR_CRITERIA", functions.NewEntry(
		nil,
		NewNamespace(),
	))
	AndCriteria = AddAndGet("$AND_CRITERIA", functions.NewEntry(
		nil,
		NewNamespace(),
	))
	OrCriteria = AddAndGet("$OR_CRITERIA", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	Rec = AddAndGet("$Rec", functions.NewEntry(
		nil,
		NewNamespace(),
	))

	WherePrefix = "WHERE_"
	AndPrefix   = "AND_"
	OrPrefix    = "OR_"
)

Functions

func Add added in v0.8.0

func Add(name string, entry *functions.Entry)

func AddAndGet added in v0.8.0

func AddAndGet(name string, entry *functions.Entry) string

func Get added in v0.8.0

func Get(name string) (*functions.Entry, bool)

func Has added in v0.8.0

func Has(name string) bool

func RegisterType added in v0.8.0

func RegisterType(contextName string, rType reflect.Type)

Types

type ContextMetadata added in v0.8.0

type ContextMetadata struct {
	ContextName string
	Metadata    interface{}
	UnexpandRaw bool
}

func NewContextMetadata added in v0.8.0

func NewContextMetadata(name string, metadata interface{}, unexpandRaw bool) *ContextMetadata

type Namespace added in v0.8.0

type Namespace struct{}

func NewNamespace added in v0.8.0

func NewNamespace() *Namespace

type StandaloneFn added in v0.8.0

type StandaloneFn struct{}

Jump to

Keyboard shortcuts

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