configtmpl

package
v0.168.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

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