Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags struct { Modules bool `envflag:"default:true"` // YAMLV3Decoder swaps the old internal/third_party/yaml decoder with the new // decoder implemented in internal/encoding/yaml on top of yaml.v3. YAMLV3Decoder bool `envflag:"default:true"` // EvalV3 enables the new evaluator. The new evaluator addresses various // performance concerns. EvalV3 bool // Embed enabled file embedding. Embed bool }
Flags holds the set of CUE_EXPERIMENT flags. It is initialized by Init.
When adding, deleting, or modifying entries below, update cmd/cue/cmd/help.go as well for `cue help environment`.
Functions ¶
func Init ¶
func Init() error
Init initializes Flags. Note: this isn't named "init" because we don't always want it to be called (for example we don't want it to be called when running "cue help"), and also because we want the failure mode to be one of error not panic, which would be the only option if it was a top level init function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.