Documentation
¶
Overview ¶
Package dynamicvars resolves {{$name}} template variables to generated fake data. The {{$...}} namespace is owned here; generators are backed by gofakeit for breadth and by hand for the validity-critical financial ones (IBAN, BIC), so e.g. {{$iban:FR}} passes a real mod-97 check.
Determinism: a Context is seeded from the execution id, so a given execution produces a stable stream of values and different executions differ. Draws are mutex-guarded; under concurrent node execution the draw order (and thus the exact values) can vary between runs — values are guaranteed unique-per-run, not yet identical on replay. See docs/dynamic-template-variables-design.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context holds the per-execution generator state.