Documentation
¶
Overview ¶
Package configtmpl embeds the canonical gofer.example.yaml so that `gofer init` can write the same starter template that ships as the documented example — one source of truth, no drift between the example file and what init emits. The Go source lives next to the YAML (the //go:embed directive cannot reference parent directories), keeping config/gofer.example.yaml the single authoritative copy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ExampleYAML string
ExampleYAML is the embedded contents of config/gofer.example.yaml. `gofer init` (target server) writes it verbatim; the example-parse test decodes it to guard against the template drifting away from the config structs.
var WorkerExampleYAML string
WorkerExampleYAML is the embedded contents of config/worker.example.yaml. `gofer init worker` writes it verbatim; a parse test decodes it into config.WorkerConfig to guard against drift.
Functions ¶
This section is empty.
Types ¶
This section is empty.