Help us shape the future of Go! Take the 2026 Go Developer Survey

keywords

package
v0.39.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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