config

module
v0.0.0-...-e4a3102 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT

Directories

Path Synopsis
cli
Package cli fills Go config structs from a cobra command's flags, env vars, and config files, in that order of precedence, over the struct's own values.
Package cli fills Go config structs from a cobra command's flags, env vars, and config files, in that order of precedence, over the struct's own values.
examples/nested command
examples/simple command
Package commentparsing recovers a config tree's doc comments and feeds them to code generators.
Package commentparsing recovers a config tree's doc comments and feeds them to code generators.
examples/nested
Package nested is a config package whose tree reaches into a second package of this module.
Package nested is a config package whose tree reaches into a second package of this module.
examples/nested/gen command
Command gen generates the DocComments for this example.
Command gen generates the DocComments for this example.
examples/nested/upstream
Package upstream is a second package of this module that the consumer's config tree reaches into.
Package upstream is a second package of this module that the consumer's config tree reaches into.
examples/simple
Package simple is a config package that documents itself.
Package simple is a config package that documents itself.
examples/simple/gen command
Command gen generates the DocComments for this example.
Command gen generates the DocComments for this example.
Package markup describes the languages a configuration can be written in.
Package markup describes the languages a configuration can be written in.
tomlmarkup
Package tomlmarkup is TOML, as github.com/pelletier/go-toml/v2 reads it.
Package tomlmarkup is TOML, as github.com/pelletier/go-toml/v2 reads it.
yamlmarkup
Package yamlmarkup is YAML, as sigs.k8s.io/yaml reads it: converted to JSON, then decoded by encoding/json.
Package yamlmarkup is YAML, as sigs.k8s.io/yaml reads it: converted to JSON, then decoded by encoding/json.

Jump to

Keyboard shortcuts

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