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 )
Click to show internal directories.
Click to hide internal directories.