constants

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Description: This file contains constants used for accessing values from context objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey string

ContextKey is a custom type for context keys to avoid collisions

const (
	// EvalData is the key used to store evaluation data in the context
	EvalData ContextKey = "eval_data" // object added to ctx objects sent to the evaluator, load with ctx.Value()

	// These are string keys used within the EvalData map, not context keys
	Ctx = "ctx" // top-scope variable name for accessing input data from scripts
)

Jump to

Keyboard shortcuts

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